发布

  • feat(executor): add configurable injection of x_search tool for xAI requests

    frostbyte_neo 发布于 2026-07-26 20:41:24 +00:00

    • Introduced InjectXSearch in XAIConfig to enable automatic injection of the native x_search tool when not explicitly declared.
    • Updated XAIExecutor to honor the InjectXSearch configuration, ensuring consistent tool availability.
    • Enhanced configuration handling with support for dynamic diffing to track changes in InjectXSearch.
    • Added comprehensive tests to validate InjectXSearch behavior, including preparation and tool choice synchronization.
    • Updated example config and documentation to outline InjectXSearch usage.

    Closes: #4339

    下载附件