ragflow/rag/llm
Tuan Le 1c77b4ed9b
fix: Correctly format message parts in GoogleChat (#8596)
### What problem does this PR solve?

This PR addresses an incompatibility issue with the Google Chat API by
correcting the message content format in the `GoogleChat` class.
Previously, the content was directly assigned to the "parts" field,
which did not align with the API's expected format. This change ensures
that messages are properly formatted with a "text" key within a
dictionary, as required by the API.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
2025-07-01 14:06:07 +08:00
..
__init__.py Feat: add gitee as LLM provider. (#8545) 2025-06-30 09:22:31 +08:00
chat_model.py fix: Correctly format message parts in GoogleChat (#8596) 2025-07-01 14:06:07 +08:00
cv_model.py Refa: ollama keep alive issue. (#8216) 2025-06-12 15:09:40 +08:00
embedding_model.py Feat: add GiteeAI as a llm provider. (#8572) 2025-06-30 11:22:11 +08:00
rerank_model.py Feat: add GiteeAI as a llm provider. (#8572) 2025-06-30 11:22:11 +08:00
sequence2txt_model.py Feat: add gitee as LLM provider. (#8545) 2025-06-30 09:22:31 +08:00
tts_model.py Feat: support vision llm for gpustack (#6636) 2025-03-31 15:33:52 +08:00