fix(llm): preserve response message phases (#38452)
This commit is contained in:
parent
553b42fcc7
commit
4b19ea2a71
7 changed files with 880 additions and 25 deletions
|
|
@ -119,7 +119,7 @@ const storedSession = {
|
|||
|
||||
const openAIResponses = {
|
||||
user: (text: string) => ({ role: "user", content: [{ type: "input_text", text }] }),
|
||||
assistant: (text: string) => ({ role: "assistant", content: [{ type: "output_text", text }] }),
|
||||
assistant: (text: string) => ({ role: "assistant", content: text }),
|
||||
openaiReasoning: (text: string, encryptedContent: string) => ({
|
||||
type: "reasoning",
|
||||
encrypted_content: encryptedContent,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue