added Google

This commit is contained in:
ayman-makki 2024-05-27 17:21:49 +02:00
parent 04b1518551
commit 74a87526ff
2 changed files with 16 additions and 16 deletions

View File

@ -155,7 +155,7 @@ export function SideBar(props: { className?: string }) {
>
<div className={styles["sidebar-header"]} data-tauri-drag-region>
<div className={styles["sidebar-title"]} data-tauri-drag-region>
بسم الله الرحمن الرحيم
بسم الله الرحمان الرحيم
</div>
<div className={styles["sidebar-sub-title"]}>
S&apos;entraîner avec l&apos;IA

View File

@ -152,12 +152,12 @@ const openaiModels = [
// "gpt-4-turbo-2024-04-09"
];
// const googleModels = [
// "gemini-1.0-pro",
// "gemini-1.5-pro-latest",
// "gemini-1.5-flash-latest",
// "gemini-pro-vision",
// ];
const googleModels = [
"gemini-1.0-pro",
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
// "gemini-pro-vision",
];
const anthropicModels = [
// "claude-instant-1.2",
@ -178,15 +178,15 @@ export const DEFAULT_MODELS = [
providerType: "openai",
},
})),
// ...googleModels.map((name) => ({
// name,
// available: true,
// provider: {
// id: "google",
// providerName: "Google",
// providerType: "google",
// },
// })),
...googleModels.map((name) => ({
name,
available: true,
provider: {
id: "google",
providerName: "Google",
providerType: "google",
},
})),
...anthropicModels.map((name) => ({
name,
available: true,