Skip to content

Feature: Add missing QueryContext methods to Python SDK #90

@zTgx

Description

@zTgx

Description

The Python QueryContext is missing several configuration methods available in the Rust API:

Rust Method Python Status
with_include_reasoning() Missing
with_depth_limit() Missing
with_timeout_secs() Missing
with_force_analysis() Missing

Current Python QueryContext (python/src/context.rs:241-272) only has:

  • with_doc_ids()
  • with_workspace()
  • with_max_tokens()

Expected Behavior

ctx = (QueryContext("complex query")
    .with_doc_ids([doc_id])
    .with_include_reasoning(True)
    .with_timeout_secs(60)
    .with_depth_limit(10))

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