feat: use managed model capabilities for reasoning and image input
This commit is contained in:
@@ -476,11 +476,11 @@ export class CodingConversationService {
|
||||
} catch (error) { runtimeError(error); }
|
||||
}
|
||||
|
||||
async setThinking(conversationId: string, thinkingLevel: ProductModelRef['thinkingLevel']): Promise<ConversationModelState> {
|
||||
async setThinking(conversationId: string, thinkingLevel: ProductModelRef['thinkingLevel'], reasoningChoice?: ProductModelRef['reasoningChoice']): Promise<ConversationModelState> {
|
||||
await this.ensurePrepared(conversationId);
|
||||
const { project } = await this.projects.findActiveConversation(conversationId);
|
||||
try {
|
||||
const state = await this.runtime.setThinking({ conversationId, thinkingLevel });
|
||||
const state = await this.runtime.setThinking({ conversationId, thinkingLevel, reasoningChoice });
|
||||
await persist(() => this.projects.conversationStore(project.path).setModelState(conversationId, state));
|
||||
return state;
|
||||
} catch (error) { runtimeError(error); }
|
||||
|
||||
Reference in New Issue
Block a user