mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-15 15:41:23 +00:00
Update openai.ts
This commit is contained in:
@@ -192,7 +192,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
message.content.push({
|
message.content.push({
|
||||||
type: "image_url",
|
type: "image_url",
|
||||||
image_url: {
|
image_url: {
|
||||||
url: `${url}${v.image_url}`,
|
url: encodeURI(`${url}${v.image_url}`),
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user