ГЛОБАЛЬНЫЙ РЕФАКТОРИНГ АРХИТЕКТУРЫ - Рефакторинг этапов 2.89 - 2.92 и 2.93 - 2.96 - Ужесточение deep-turn финализацию/response контракт debug до строго AssistantDebugPayload / Вынен общий контракт followup-usage и helper / Протянут typed followupUsage по deep-turn цепочке и убрал inline-cast проверки applied
This commit is contained in:
@@ -10,7 +10,7 @@ export interface BuildAssistantDeepTurnSuccessResponseInput {
|
||||
assistantReply: string;
|
||||
replyType: AssistantReplyType;
|
||||
conversationItem: AssistantConversationItem;
|
||||
debug: AssistantDebugPayload | Record<string, unknown>;
|
||||
debug: AssistantDebugPayload;
|
||||
conversation: AssistantConversationItem[];
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ export function buildAssistantDeepTurnSuccessResponse(
|
||||
assistant_reply: input.assistantReply,
|
||||
reply_type: input.replyType,
|
||||
conversation_item: input.conversationItem,
|
||||
debug: input.debug as AssistantDebugPayload,
|
||||
debug: input.debug,
|
||||
conversation: input.conversation
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user