File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/platform/endpoint/node Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,8 +279,8 @@ export class ChatEndpoint implements IChatEndpoint {
279279 }
280280
281281 protected customizeCapiBody ( body : IEndpointBody , options : ICreateEndpointBodyOptions ) : IEndpointBody {
282- const isConversationOther = options . location === ChatLocation . Other ;
283- if ( isAnthropicFamily ( this ) && ! options . disableThinking && ! isConversationOther ) {
282+ const isConversationAgent = options . location === ChatLocation . Agent ;
283+ if ( isAnthropicFamily ( this ) && ! options . disableThinking && isConversationAgent ) {
284284 const configuredBudget = this . _configurationService . getExperimentBasedConfig ( ConfigKey . AnthropicThinkingBudget , this . _expService ) ;
285285 if ( configuredBudget && configuredBudget > 0 ) {
286286 const normalizedBudget = configuredBudget < 1024 ? 1024 : configuredBudget ;
You can’t perform that action at this time.
0 commit comments