Skip to content

The problem of overly long bash description #5715

Closed

Description

@doitcan-oiu

Question

I encountered a very strange set of questions in opencode.json

"tools ":{ "bash" : true }

It will prompt: "Error handling response: Request failed, status code 400", and I saw the bash prompt on "toolSpecification". Is it because my model provider doesn't support such long descriptions that these descriptions shouldn't be placed in the userContext? I set bash to false and can make the request

Activity

  1. github-actions commented on Dec 17, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  2. rekram1-node commented on Dec 18, 2025

    @rekram1-node
    Contributor

    what context size do u have

  3. doitcan-oiu commented on Dec 18, 2025

    @doitcan-oiu
    Author

    what context size do u have

    200k

  4. rekram1-node commented on Dec 18, 2025

    @rekram1-node
    Contributor

    hm what provider are u using? Ig we can prolly condense the prompt potentially but i hadnt heard of this

  5. sowar1987 commented on Jan 20, 2026

    @sowar1987

    Same issue here with Gemini 3 Pro via openai-compatible proxy.
    Any tool call fails with 400 "Request contains an invalid argument".
    Tested with both Sisyphus and Build agents - same result.

  6. github-actions commented on Mar 26, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions