Merge remote-tracking branch 'upstream/main'

This commit is contained in:
Hk-Gosuto
2024-01-02 09:32:09 +08:00
13 changed files with 55 additions and 14 deletions

View File

@@ -93,10 +93,8 @@ export const Azure = {
};
export const Google = {
ExampleEndpoint: "https://generativelanguage.googleapis.com",
ChatPath: "v1/models/gemini-pro:generateContent",
// /api/openai/v1/chat/completions
ExampleEndpoint: "https://generativelanguage.googleapis.com/",
ChatPath: "v1beta/models/gemini-pro:generateContent",
};
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang