mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-21 12:51:17 -05:00
Replace tool blocks with xml tags format to allow continuing old tasks without passing in tool schema to API
This commit is contained in:
@@ -82,7 +82,7 @@ export function formatContentBlockToMarkdown(
|
||||
}
|
||||
}
|
||||
|
||||
function findToolName(toolCallId: string, messages: Anthropic.MessageParam[]): string {
|
||||
export function findToolName(toolCallId: string, messages: Anthropic.MessageParam[]): string {
|
||||
for (const message of messages) {
|
||||
if (Array.isArray(message.content)) {
|
||||
for (const block of message.content) {
|
||||
|
||||
Reference in New Issue
Block a user