feat: use managed model capabilities for reasoning and image input

This commit is contained in:
2026-09-12 21:37:18 +08:00
parent e7701d1f2c
commit 26cbb29aa9
29 changed files with 652 additions and 271 deletions

View File

@@ -52,7 +52,8 @@ function sameModelState(left: ConversationModelState, right: ConversationModelSt
? left.model === right.model
: left.model.accountId === right.model.accountId
&& left.model.modelId === right.model.modelId
&& left.model.thinkingLevel === right.model.thinkingLevel);
&& left.model.thinkingLevel === right.model.thinkingLevel
&& JSON.stringify(left.model.reasoningChoice) === JSON.stringify(right.model.reasoningChoice));
}
export class PiSessionRegistry {