Skip to content

BUG: a request to "list all files in the /home/ada/workspace directory" fails with an error due to missing tool #204

@stackcv

Description

@stackcv
  1. after setup and the agent is responding normally to queries, ask "list all files in the /home/ada/workspace directory"
  2. the agent (main) responds with "I am on it and will report soon"
  3. no further updates
  4. logs show the following:
    2026-02-24T19:19:06.766695Z ERROR spacebot::agent::channel: message=worker failedworker_id=5aa09f7d-4f63-4e48-8a7a-8e525c377544error=CompletionError: ProviderError: OpenAI API error (400 Bad Request): tool call validation failed: attempted to call tool 'file={"operation": "list", "path": "/home/ada/workspace"}' which was not in request.tools

Tried a few times, restarted SpaceBot but same issue is seen. The models for channel, branch and worker etc are setup properly (channel and branch use the same codex model and worker uses llama model via groq).

Metadata

Metadata

Assignees

No one assigned

    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