MicroFish/backend/app/services
Dominik Seemann 8af800a122 fix(graph): pass small_model to graphiti so non-openai backends don't 404
Graphiti's OpenAIClient routes "simpler" extraction prompts to
ModelSize.small, falling back to a hard-coded `gpt-4.1-nano` when no
small_model is configured. Against Qwen/Dashscope (and other OpenAI-SDK
endpoints that don't host that model) this surfaces as a 404 mid-graph
build, even when LLM_MODEL_NAME points at a working model.

Add LLM_SMALL_MODEL_NAME (defaults to LLM_MODEL_NAME) and pass it through
the Graphiti LLMConfig so the small slot is always populated with a
model the configured endpoint actually serves.

Closes #37
2026-05-11 13:12:21 +02:00
..
__init__.py docs(i18n): translate chinese docstrings/comments in backend/app/{models,utils} and partial services 2026-05-07 14:44:08 +00:00
graph_builder.py fix(graph): default embeddings to local ollama and gate empty graph builds 2026-05-11 09:43:28 +00:00
graphiti_adapter.py fix(graph): pass small_model to graphiti so non-openai backends don't 404 2026-05-11 13:12:21 +02:00
oasis_profile_generator.py Merge remote-tracking branch 'origin/main' into feat/25-i18n-oasis-profile-generator-prompts 2026-05-11 11:19:46 +02:00
ollama_reranker.py fix(graph): replace passthrough reranker with ollama-backed cross-encoder 2026-05-11 10:39:50 +00:00
ontology_generator.py Merge branch 'main' into docs/i18n-7-translate-backend-comments 2026-05-09 10:40:10 +00:00
report_agent.py docs(i18n): translate chinese docstrings/comments in backend/services 2026-05-09 10:59:40 +00:00
simulation_config_generator.py docs(i18n): translate chinese docstrings/comments in backend/services 2026-05-09 10:59:40 +00:00
simulation_ipc.py docs(i18n): translate chinese docstrings/comments in backend root, api init, simulation_ipc, simulation_manager, zep_entity_reader 2026-05-07 14:49:20 +00:00
simulation_manager.py docs(i18n): translate chinese docstrings/comments in backend root, api init, simulation_ipc, simulation_manager, zep_entity_reader 2026-05-07 14:49:20 +00:00
simulation_runner.py docs(i18n): translate chinese docstrings/comments in backend/services 2026-05-09 10:59:40 +00:00
text_processor.py docs(i18n): translate chinese docstrings/comments in backend/app/{models,utils} and partial services 2026-05-07 14:44:08 +00:00
zep_entity_reader.py docs(i18n): translate chinese docstrings/comments in backend root, api init, simulation_ipc, simulation_manager, zep_entity_reader 2026-05-07 14:49:20 +00:00
zep_graph_memory_updater.py docs(i18n): translate chinese docstrings/comments in backend/services 2026-05-09 10:59:40 +00:00
zep_tools.py docs(i18n): translate chinese docstrings/comments in backend/services 2026-05-09 10:59:40 +00:00