mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-11-14 05:03:43 +08:00
sync upstream code
This commit is contained in:
@@ -44,7 +44,7 @@ export class ChatGPTApi implements LLMApi {
|
||||
async chat(options: ChatOptions) {
|
||||
const messages = options.messages.map((v) => ({
|
||||
role: v.role,
|
||||
content: v.content,
|
||||
content: v.toolPrompt ?? v.content,
|
||||
}));
|
||||
|
||||
const modelConfig = {
|
||||
|
||||
Reference in New Issue
Block a user