Skip to content

[Bounty proposal] fix(file-tools): validate non-empty question, coerce file_ids/video spans, and harden config extraction ($50 proposed) #23140

Closed as not planned

Description

@Booshdag-io

Bounty Proposal: File Search Tool Resilience & Parameter Validation ($50 USD)

Pull Request: #23139
Target Maintainers: @kodjima33 @josancamon19

Description

Hardens backend/utils/retrieval/tools/file_tools.py against unexpected tool invocation parameters:

  1. Validates that question is non-empty before invoking provider endpoints.
  2. Supports single string coercion for file_ids and safe float conversion for video span bounds.
  3. Guards against {'configurable': None} and supports top-level user_id / chat_session_id.
  4. Adds hermetic unit test suite (10/10 passing) in backend/tests/unit/test_file_tools.py.

Settlement Details

  • Proposed Bounty: $50 USD
  • Payout Address: 0xb95e2AD8E9D9e9BF902c7531577Cd0E1ceB203D4 (EVM / Base Mainnet USDC)

Activity

  1. undivisible commented on Oct 22, 2026

    @undivisible
    Collaborator

    Thanks for putting this together. We aren't doing bounties at the moment, so we're closing the bounty proposal issues for now — thanks for the fix! 🙏

  2. moved this from Someday to In review in omi TODO / bountieson Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions