mirror of
https://github.com/ItzCrazyKns/Perplexica.git
synced 2025-09-15 14:01:31 +00:00
Compare commits
4 Commits
6061a69c90
...
3a911182d4
Author | SHA1 | Date | |
---|---|---|---|
|
3a911182d4 | ||
|
7ec201d011 | ||
|
3582695054 | ||
|
4e56cccea5 |
@@ -29,6 +29,15 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- perplexica-network
|
- perplexica-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: ./backend
|
||||||
|
target: /home/perplexica
|
||||||
|
ignore:
|
||||||
|
- node_modules/
|
||||||
|
- action: rebuild
|
||||||
|
path: backend.dockerfile
|
||||||
|
|
||||||
perplexica-frontend:
|
perplexica-frontend:
|
||||||
build:
|
build:
|
||||||
@@ -45,6 +54,16 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- perplexica-network
|
- perplexica-network
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
develop:
|
||||||
|
watch:
|
||||||
|
- action: sync
|
||||||
|
path: ./frontend
|
||||||
|
target: /app
|
||||||
|
ignore:
|
||||||
|
- node_modules/
|
||||||
|
- .next/
|
||||||
|
- action: rebuild
|
||||||
|
path: app.dockerfile
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
perplexica-network:
|
perplexica-network:
|
||||||
|
@@ -36,6 +36,22 @@ export const loadGeminiChatModels = async () => {
|
|||||||
apiKey: geminiApiKey,
|
apiKey: geminiApiKey,
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
'gemini-2.0-flash-exp': {
|
||||||
|
displayName: 'Gemini 2.0 Flash Exp',
|
||||||
|
model: new ChatGoogleGenerativeAI({
|
||||||
|
modelName: 'gemini-2.0-flash-exp',
|
||||||
|
temperature: 0.7,
|
||||||
|
apiKey: geminiApiKey,
|
||||||
|
}),
|
||||||
|
},
|
||||||
|
'gemini-2.0-flash-thinking-exp-01-21': {
|
||||||
|
displayName: 'Gemini 2.0 Flash Thinking Exp 01-21',
|
||||||
|
model: new ChatGoogleGenerativeAI({
|
||||||
|
modelName: 'gemini-2.0-flash-thinking-exp-01-21',
|
||||||
|
temperature: 0.7,
|
||||||
|
apiKey: geminiApiKey,
|
||||||
|
}),
|
||||||
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
return chatModels;
|
return chatModels;
|
||||||
|
Reference in New Issue
Block a user