added some guards to llm chat and an llmcfg.json example

This commit is contained in:
Luxferre
2025-12-27 12:25:51 +02:00
parent 9ae0bbee8c
commit 762dbaddc2
3 changed files with 31 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
{
"reasoning_enabled": false,
"temperature": 0.7,
"active_provider": "deepinfra",
"providers": {
"pollinations": {
"base_url": "https://text.pollinations.ai/openai",
"api_key": "",
"model": "openai-fast",
"extra_headers": {}
},
"deepinfra": {
"base_url": "https://api.deepinfra.com/v1/openai",
"api_key": "",
"model": "MiniMaxAI/MiniMax-M2",
"extra_headers": {
"Origin": "https://deepinfra.com",
"Referer": "https://deepinfra.com/",
"X-Deepinfra-Source": "web-page"
}
},
"airforce": {
"base_url": "https://api.airforce/v1",
"api_key": "",
"model": "gemini-3-flash",
"extra_headers": {}
},
"system_prompt": "You are a concise, embedded assistant."
}