feat: releases

This commit is contained in:
Gab
2026-03-24 22:12:30 +11:00
parent d716f9a6d6
commit 2ae12f8d6b
10 changed files with 217 additions and 53 deletions

View File

@@ -115,10 +115,11 @@ export function convertToOpenAICompatibleChatMessages(prompt: LanguageModelV2Pro
messages.push({
role: "assistant",
content: text || null,
content: text || undefined,
tool_calls: toolCalls.length > 0 ? toolCalls : undefined,
reasoning_text: reasoningOpaque ? reasoningText : undefined,
reasoning_opaque: reasoningOpaque,
reasoning_content: reasoningText,
...metadata,
})