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
2025-07-22 23:34:41 +03:00
2024-01-10 21:41:12 +02:00
2026-03-15 23:35:22 +02:00
2026-03-15 23:35:22 +02:00
2024-02-12 15:56:14 +02:00
2025-07-19 21:02:16 +03:00
…
…
2025-07-27 14:13:53 +03:00
2025-07-17 13:49:15 +00:00
2023-11-25 23:45:33 +02:00
2023-08-30 17:03:54 +03:00
2025-07-21 00:24:49 +03:00
S
Description
LLM Frontend for Power Users.
https://sillytavern.app Readme AGPL-3.0
376 MiB
Languages
JavaScript 88.7%
HTML 8.1%
CSS 2.8%
Less 0.3%