增加openai

This commit is contained in:
dekun
2026-05-22 22:31:09 +08:00
parent ac762b540c
commit 5ff9cc4587
5 changed files with 202 additions and 42 deletions
+2
View File
@@ -724,6 +724,8 @@ def create_app(settings: Settings) -> FastAPI:
"gemma": {
"enabled": g.enabled,
"ollama_base_url": g.ollama_base_url,
"api_style": g.api_style,
"api_key_set": bool((g.api_key or "").strip()),
"model": g.model,
"max_funnel_per_cycle": g.max_funnel_per_cycle,
"vision_top_n": g.vision_top_n,