Introduced env file for API key
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user