- Updated formatToolCallStart and formatToolCallResult functions to return plain-text lines instead of Markdown snippets for better integration within <think> blocks. - Introduced briefToolSummary function to extract concise summaries from tool output. - Enhanced handleMessageStream to manage <think> blocks more effectively during agent interactions. - Added handling for server-side events in WeCom long connection management to improve reconnection logic. |
||
|---|---|---|
| .. | ||
| longconn.go | ||
| webhook_adapter.go | ||
| ws_adapter.go | ||