MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / convert

Function convert

src/api/providers/__tests__/mimo.spec.ts:109–113  ·  view source on GitHub ↗
(messages: Anthropic.Messages.MessageParam[])

Source from the content-addressed store, hash-verified

107
108 describe("convertMessagesForMiMo (via convertToR1Format)", () => {
109 const convert = (messages: Anthropic.Messages.MessageParam[]) =>
110 convertToR1Format(messages, {
111 mergeToolResultText: true,
112 normalizeToolCallId: sanitizeOpenAiCallId,
113 })
114
115 it("should convert assistant message with reasoning and text", () => {
116 const messages: Anthropic.Messages.MessageParam[] = [

Callers 1

mimo.spec.tsFile · 0.85

Calls 1

convertToR1FormatFunction · 0.90

Tested by

no test coverage detected