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 { Raw } from '@vscode/prompt-tsx';
import { mapFindFirst } from '../../../util/vs/base/common/arraysFind';
import { roleToString } from '../../chat/common/globalStringUtils';
import { rawPartAsStatefulMarker } from '../../endpoint/common/statefulMarkerContainer';
import { rawPartAsThinkingData } from '../../endpoint/common/thinkingDataContainer';
export function messageToMarkdown(message: Raw.ChatMessage, ignoreStatefulMarker?: boolean, skipFencing?: boolean):
role messagerole
capitalizedRole role role
str skipFencing
messagerole RawChatRoleTool
str
messagecontent
str
messagecontent
str messagecontentitem
itemtype RawChatCompletionContentPartKindText
itemtext
itemtype RawChatCompletionContentPartKindImage
item
itemtype RawChatCompletionContentPartKindOpaque
asThinking item
asThinking
parts
asThinkingtext
thinkingText asThinkingtext asThinkingtext asThinkingtext
parts
asThinkingencryptedlength
parts
partslength
parts
str messagecontent
messagerole RawChatRoleAssistant messagetoolCallslength
messagecontent
str
str messagetoolCallsc
argsStr cfunctionarguments
parsedArgs cfunctionarguments
argsStr parsedArgs
e
messagecontentpart parttype RawChatCompletionContentPartKindCacheBreakpoint
str
statefulMarker messagecontent c ctype RawChatCompletionContentPartKindOpaque c
statefulMarker ignoreStatefulMarker
str
skipFencing
str
str
str