chore: update

This commit is contained in:
DDMeaqua 2024-11-13 14:27:41 +08:00
parent 7eda14f138
commit 0628ddfc6f

View File

@ -170,7 +170,6 @@ export class GeminiProApi implements LLMApi {
try { try {
// https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Streaming_REST.ipynb // https://github.com/google-gemini/cookbook/blob/main/quickstarts/rest/Streaming_REST.ipynb
const chatPath = this.path(Google.ChatPath(modelConfig.model)); const chatPath = this.path(Google.ChatPath(modelConfig.model));
console.log("[Chat Path] ", chatPath);
const chatPayload = { const chatPayload = {
method: "POST", method: "POST",