Commit 3081956
fix: skip LLM-based title generation for ACP agents
The ACPAgent uses a sentinel LLM with model="acp-managed" that cannot
make direct LLM calls. When generate_title() was called for ACP
conversations, it would fall back to this sentinel LLM and fail with:
"LiteLLM Provider NOT provided. You passed model=acp-managed"
Add a guard to detect the sentinel model and pass None to
generate_conversation_title(), which causes it to use simple truncation
fallback instead of LLM-based title generation.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 0b41c05 commit 3081956
File tree
1 file changed
+5
-0
lines changed- openhands-sdk/openhands/sdk/conversation/impl
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
911 | 911 | | |
912 | 912 | | |
913 | 913 | | |
| 914 | + | |
| 915 | + | |
| 916 | + | |
| 917 | + | |
| 918 | + | |
914 | 919 | | |
915 | 920 | | |
916 | 921 | | |
| |||
0 commit comments