fix(llm): revert response message phases (#38761)

This commit is contained in:
Aiden Cline 2026-07-24 16:31:38 -05:00 committed by GitHub
commit 7840562d1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 25 additions and 874 deletions

View file

@ -119,7 +119,7 @@ const storedSession = {
const openAIResponses = {
user: (text: string) => ({ role: "user", content: [{ type: "input_text", text }] }),
assistant: (text: string) => ({ role: "assistant", content: text }),
assistant: (text: string) => ({ role: "assistant", content: [{ type: "output_text", text }] }),
openaiReasoning: (text: string, encryptedContent: string) => ({
type: "reasoning",
encrypted_content: encryptedContent,