Skip to content

Conversation

@lramos15
Copy link
Member

Allows for streaming of progress as a tool partially streams in.

This is the extension side of microsoft/vscode#278640


if (options.rawInput && typeof options.rawInput === 'string') {
// Try to extract filePath from the raw JSON input
const filePathMatch = options.rawInput.match(/"filePath"\s*:\s*"([^"]+)"/);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a fan of this, I think the agent would ideally have a streaming json parser and return partial input objects (for now all you really have to do is append a } and parse it right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants