kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
a4d89fcba6
commit
839ccd84fd
|
@ -223,7 +223,8 @@ export abstract class BaseChatModel<
|
|||
1
|
||||
).replaceAll(/\n ?/gm, ' ')
|
||||
|
||||
messages.push(completion.message)
|
||||
// TODO: remove `any` cast once openai-fetch is updated
|
||||
messages.push(completion.message as any)
|
||||
messages.push({
|
||||
role: 'function',
|
||||
name: functionCall.name,
|
||||
|
|
Ładowanie…
Reference in New Issue