Files
SillyTavern/public/scripts
copilot-swe-agent[bot]andCohee1207 91f20bdfa9 Fix reasoning/tool calling corner cases with Add to prompts
- Bug #1: Reasoning not added to tool-call messages
  - Compute reasoning prefix separately for tool-call messages in script.js
  - Pass toolCallContent through setOpenAIMessages
  - Use toolCallContent in populateChatHistory for toolCallMessage content
- Bug #2: mes undefined instead of empty string
  - Normalize content to '' in addToMessage in reasoning.js

Agent-Logs-Url: https://github.com/SillyTavern/SillyTavern/sessions/2abf2e74-0399-430a-862b-92377b5deb05

Co-authored-by: Cohee1207 <18619528+Cohee1207@users.noreply.github.com>
2026-04-23 21:29:25 +00:00
..
2026-03-18 18:14:21 +02:00