Skip to content

Commit 1f92ccc

Browse files
Update completePrompt method to include JSON representation of tool call in result string
* Serialize the tool call to JSON and append it to the result string in the `completePrompt` method
1 parent 5c4019a commit 1f92ccc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/vscode-lm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ export class VsCodeLmHandler extends BaseProvider implements SingleCompletionHan
596596

597597
// Execute the tool call
598598
const toolResult = await this.executeToolCall(toolCall)
599-
result += toolResult
599+
result += JSON.stringify(toolCall)
600600
} catch (error) {
601601
console.error("Roo Code <Language Model API>: Failed to process tool call:", error)
602602
// Continue processing other chunks even if one fails

0 commit comments

Comments
 (0)