llama-stack-mirror/llama_stack/models
skamenan7 533c1323b8 feat: add proper BuiltinTool support for both websearch providers
- Add web_search to BuiltinTool enum for consistency with brave_search
- Add WEB_SEARCH_BRAVE_TOOL constant following existing patterns
- Update agent logic to properly map both websearch tools:
  * web_search → BuiltinTool.web_search → WEB_SEARCH_TOOL → Tavily
  * web_search_brave → BuiltinTool.brave_search → WEB_SEARCH_BRAVE_TOOL → Brave
- Add tool encoding support for BuiltinTool.web_search in Llama model
- Replace hardcoded strings with constants for maintainability
- Fix tool conflicts that caused non-deterministic provider selection

This resolves the architectural issues where both websearch providers
exposed the same tool name, causing unpredictable behavior and making
it impossible for users to reliably choose their preferred provider.

Fixes #2606
2025-07-14 10:30:21 -04:00
..
llama feat: add proper BuiltinTool support for both websearch providers 2025-07-14 10:30:21 -04:00
__init__.py feat: introduce llama4 support (#1877) 2025-04-05 11:53:35 -07:00