fix constant.ts

This commit is contained in:
Clivia
2024-02-19 23:06:12 +08:00
committed by GitHub
parent 47ea8f645e
commit 2d46df4c69

View File

@@ -91,7 +91,7 @@ export const Azure = {
export const Google = {
ExampleEndpoint: "https://generativelanguage.googleapis.com/",
ChatPath: "v1beta/models/gemini-pro:generateContent",
ChatPath: "v1beta/models/{{model}}:generateContent",
};
export const DEFAULT_INPUT_TEMPLATE = `{{input}}`; // input / time / model / lang
@@ -253,6 +253,15 @@ export const DEFAULT_MODELS = [
providerType: "google",
},
},
{
name: "gemini-pro-vision",
available: true,
provider: {
id: "google",
providerName: "Google",
providerType: "google",
},
},
] as const;
export const CHAT_PAGE_SIZE = 15;