managarten/services/mana-llm/src
Till JS 3be4612f04 fix(mana-llm): google-genai v1.73 keyword-only Part.from_text()
google-genai >=1.70 changed Part.from_text() from positional to
keyword-only argument. The production container installed v1.73.1
and crashed on startup with "Part.from_text() takes 1 positional
argument but 2 were given".

Fix: Part.from_text(msg.content) → Part.from_text(text=msg.content)

Tested live: curl https://llm.mana.how/v1/chat/completions with
model=google/gemini-2.5-flash returns correct response.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-16 12:47:23 +02:00
..
models fix(mana-llm): add response_format to ChatCompletionRequest model 2026-04-09 18:50:54 +02:00
providers fix(mana-llm): google-genai v1.73 keyword-only Part.from_text() 2026-04-16 12:47:23 +02:00
streaming fix(mana-llm): fix SSE double data prefix causing message parsing issues 2026-02-02 15:29:11 +01:00
utils feat(mana-llm): add central LLM abstraction service 2026-01-29 22:01:00 +01:00
__init__.py feat(mana-llm): add central LLM abstraction service 2026-01-29 22:01:00 +01:00
api_auth.py chore(ai-services): adopt Windows GPU as source of truth for llm/stt/tts 2026-04-08 12:46:03 +02:00
config.py chore(cloud-tier): upgrade default model gemini-2.0-flash → gemini-2.5-flash 2026-04-16 12:32:03 +02:00
main.py chore(ai-services): adopt Windows GPU as source of truth for llm/stt/tts 2026-04-08 12:46:03 +02:00