ide на основе vs code
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
Это ide на основе vs code(code oss), в ней будет встроенный умный апи роутинг, свой маркет с плагинами(агент харнесс, поддержка java/kotlin/мобильной разработки, командная разработка проектов, orca, оркестратор агентов
/*---------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*--------------------------------------------------------------------------------------------*/
import { ConfigKey, IConfigurationService } from '../../configuration/common/configurationService';
import { getModelId, modelSupportsContextEditing } from '../../endpoint/common/chatModelCapabilities';
import type { LanguageModelChat } from 'vscode';
import { IExperimentationService } from '../../telemetry/common/nullExperimentationService';
import { ChatLocation } from '../../chat/common/commonTypes';
import { IChatEndpoint } from './networking';
/**
* Types for Anthropic Messages API
* Based on https://platform.claude.com/docs/en/api/messages
*
* This interface supports both regular tools and server tools (web search, tool search):
* - Regular tools: require name, description, and input_schema
* - Tool search tools: require only type and name
*/
name
type
description
input_schema
type
properties Record
required
defer_loading
cache_control type ttl
type value
type value
type value
type value
type
value
type
trigger ContextManagementTrigger
keep ContextManagementKeep
clear_at_least ContextManagementClearAtLeast
exclude_tools
clear_tool_inputs
type
keep ContextManagementKeep
ClearToolUsesEdit ClearThinkingEdit
edits ContextManagementEdit
type
cleared_thinking_turns
cleared_tool_uses
cleared_input_tokens
applied_edits AppliedContextEdit
modelId
normalized modelId
normalized
normalized
normalized
normalized
model LanguageModelChat IChatEndpoint
id model model model
family model model modelfamily
s
n s
n
n
n
n
n
n
n
n
n
n
n
id family
endpoint IChatEndpoint
configurationService IConfigurationService
experimentationService IExperimentationService
supportsIt endpoint
endpoint
endpointsupportsContextEditing endpointmodel
supportsIt
mode configurationServiceConfigKeyAnthropicContextEditingMode experimentationService
mode
model LanguageModelChat IChatEndpoint
id model model model
family model model modelfamily
s
n s
n
n
n
n
n
n
n
n
id family
endpoint IChatEndpoint
configurationService IConfigurationService
experimentationService IExperimentationService
location ChatLocation
isSubagent
endpoint
location ChatLocationAgent
isSubagent
configurationServiceConfigKeyAdvancedAnthropicExtendedCacheTtl experimentationService
parentEnabled
configurationService IConfigurationService
experimentationService IExperimentationService
parentEnabled
configurationServiceConfigKeyAdvancedAnthropicExtendedCacheTtlMessages experimentationService
mode ContextEditingMode
thinkingEnabled
ContextManagement
mode
edits ContextManagementEdit
mode mode thinkingEnabled
edits
type
keep type value
mode mode
edits
type
trigger type value
keep type value
editslength edits
configurationService IConfigurationService
experimentationService IExperimentationService
thinkingEnabled
ContextManagement
mode configurationServiceConfigKeyAnthropicContextEditingMode experimentationService
mode thinkingEnabled