Ollama improvements (#5609)

Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
Douwe Osinga
2025-11-12 11:42:00 -05:00
committed by GitHub
parent 4a6e682ee0
commit 0df4ad3296
5 changed files with 57 additions and 44 deletions
+1 -3
View File
@@ -186,9 +186,7 @@ export const ConfigProvider: React.FC<ConfigProviderProps> = ({ children }) => {
try {
const response = await apiGetProviderModels({
path: { name: providerName },
headers: {
'X-Secret-Key': await window.electron.getSecretKey(),
},
throwOnError: true,
});
return response.data || [];
} catch (error) {