update pay function
This commit is contained in:
@@ -313,6 +313,7 @@ const AgentChat = () => {
|
|||||||
user_id: user?.id || 'anonymous',
|
user_id: user?.id || 'anonymous',
|
||||||
user_nickname: user?.nickname || '匿名用户',
|
user_nickname: user?.nickname || '匿名用户',
|
||||||
user_avatar: user?.avatar || '',
|
user_avatar: user?.avatar || '',
|
||||||
|
subscription_type: user?.subscription_type || 'free', // ✅ 添加订阅类型
|
||||||
session_id: currentSessionId,
|
session_id: currentSessionId,
|
||||||
model: selectedModel,
|
model: selectedModel,
|
||||||
tools: selectedTools,
|
tools: selectedTools,
|
||||||
|
|||||||
Reference in New Issue
Block a user