fix: 修复智能体聊天图片能力判断
This commit is contained in:
@@ -49,7 +49,9 @@ export function buildInteractionConfigPayload(
|
||||
};
|
||||
}
|
||||
|
||||
export function resolveInteractionDisplay(agent?: AgentInfo) {
|
||||
export function resolveInteractionDisplay(
|
||||
agent?: Pick<AgentInfo, 'interactionConfigJson' | 'name'>,
|
||||
) {
|
||||
const config = buildInteractionConfigPayload(agent?.interactionConfigJson);
|
||||
const agentName = String(agent?.name || '').trim() || '智能体';
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user