Skip to content

BadRequestError: Error code: 400 - Schema is too complex for compilation #6109

@sentry

Description

@sentry

Sentry Issue: REVIEWHELPER-API-Z

BadRequestError: Error code: 400 - {'type': 'error', 'error': {'type': 'invalid_request_error', 'message': 'Schema is too complex for compilation. Try reducing the number of tools or simplifying tool schemas.'}, 'request_id': 'req_011CbeBXsLnhXcbQ3EiFVoTu'}
During task with name 'model' and id 'f82f6a8c-6a9c-b857-031d-cb77e28dcc81'
(35 additional frame(s) were not displayed)
...
  File "app/routers/internal.py", line 129, in process_review_request
    comments, patch_summary, details = await process_review(review_request)
  File "app/review_processor.py", line 79, in process_review
    result = await tool.run(patch)

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Bug.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions