Skip to content

Adding Schema for Tool Outputs#888

Merged
tawsifkamal merged 6 commits intodevelopfrom
tawsif/sentry-error-tool-call
Mar 18, 2025
Merged

Adding Schema for Tool Outputs#888
tawsifkamal merged 6 commits intodevelopfrom
tawsif/sentry-error-tool-call

Conversation

@tawsifkamal
Copy link
Contributor

See the schemas in tool_output_types.py

Adding schemas for the following tools:

  • view_file
  • edit_file
  • semantic_edit
  • search
  • list_directory

Right now the render method is jank -> lot's of lining errors because for the tools that we are still returning a string and not a tool message, those are still a work in progress to convert to a ToolMessage. Thus, just ignore the lining errors for now

@tawsifkamal tawsifkamal requested review from a team and codegen-team as code owners March 18, 2025 16:23
@tawsifkamal tawsifkamal enabled auto-merge (squash) March 18, 2025 17:41
@tawsifkamal tawsifkamal merged commit fe98b92 into develop Mar 18, 2025
16 of 17 checks passed
@tawsifkamal tawsifkamal deleted the tawsif/sentry-error-tool-call branch March 18, 2025 17:48
tawsifkamal added a commit that referenced this pull request Mar 18, 2025
tawsifkamal added a commit that referenced this pull request Mar 18, 2025
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.

2 participants