Introduced env file for API key

This commit is contained in:
2026-02-28 10:44:03 +01:00
parent 4d2b087d16
commit 2f9f0b6aaa
5 changed files with 442 additions and 468 deletions
+11
View File
@@ -0,0 +1,11 @@
{
"mistral": {
"apiKey": "$MISTRAL_API_KEY", # Uses the environment variable set above
"defaultModel": "mistral-pro" # Default model for Mistral API calls
},
"ollama": {
"endpoint": "$OLLAMA_HOST", # Connects to local Ollama instance
"defaultModel": "codellama:70b" # Default model for Ollama plugin
},
# Add other ZED plugin configurations here if needed
}
+2
View File
@@ -0,0 +1,2 @@
echo "MISTRAL_API_KEY=CWo91GHwIClzLj6bCLQ69IioSi54PpTZ" > ./assets/conf/apps/ai.env
echo "OLLAMA_HOST=http://127.0.0.1:11434" >> ./assets/conf/apps/ai.env