fix(ai/providers): fixed orphaned tool result handling in message conversion
- Track skipped tool call IDs to prevent dangling tool results when assistant messages are omitted. - Fixed indentation in Python tool output renderer.
This commit is contained in:
@@ -900,7 +900,7 @@ export const pythonToolRenderer = {
|
||||
spinnerFrame: options.spinnerFrame,
|
||||
duration: cell.durationMs,
|
||||
output: outputLines.length > 0 ? outputLines.join("\n") : undefined,
|
||||
outputMaxLines: outputLines.length,
|
||||
outputMaxLines: outputLines.length,
|
||||
codeMaxLines: expanded ? Number.POSITIVE_INFINITY : PYTHON_DEFAULT_PREVIEW_LINES,
|
||||
expanded,
|
||||
width,
|
||||
|
||||
Reference in New Issue
Block a user