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-header"]} data-tauri-drag-region>
<div className={styles["sidebar-title"]} data-tauri-drag-region> <div className={styles["sidebar-title"]} data-tauri-drag-region>
بسم الله الرحمن الرحيم بسم الله الرحمان الرحيم
</div> </div>
<div className={styles["sidebar-sub-title"]}> <div className={styles["sidebar-sub-title"]}>
S&apos;entraîner avec l&apos;IA S&apos;entraîner avec l&apos;IA

View File

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