Used variables for filenames to import (env + conf)

This commit is contained in:
2026-02-28 11:08:03 +01:00
parent 4b9992e9f2
commit cdb42fd563
5 changed files with 330 additions and 321 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