* fix: use SystemMessage+HumanMessage for follow-up question generation (fixes #1697) Some models (e.g. MiniMax-M2.7) require the system prompt and user content to be passed as separate message objects rather than a single combined string. Invoking with a plain string sends everything as a HumanMessage, which causes these models to ignore the generation instructions and fail to produce valid follow-up questions. * test: verify model is invoked with SystemMessage and HumanMessage |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agents.py | ||
| artifacts.py | ||
| assistants_compat.py | ||
| channels.py | ||
| mcp.py | ||
| memory.py | ||
| models.py | ||
| runs.py | ||
| skills.py | ||
| suggestions.py | ||
| thread_runs.py | ||
| threads.py | ||
| uploads.py | ||