Skip to content

Added client name header#6413

Open
manisrinivasan2k1 wants to merge 1 commit into
crewAIInc:mainfrom
manisrinivasan2k1:feat/tavily-header
Open

Added client name header#6413
manisrinivasan2k1 wants to merge 1 commit into
crewAIInc:mainfrom
manisrinivasan2k1:feat/tavily-header

Conversation

@manisrinivasan2k1

Copy link
Copy Markdown
Contributor
  • added client_name header to the 4 tavily tools to classify incoming requests as 'crewai' requests.

  • This is for internal analysis

- added client_name header to the 4 tavily tools to classify incoming requests as 'crewai' requests.

- This is for internal analysis
@coderabbitai

coderabbitai Bot commented Jul 1, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 61060012-ad2b-4b40-a47b-1f4571510c09

📥 Commits

Reviewing files that changed from the base of the PR and between 1452ee2 and 60aa327.

📒 Files selected for processing (4)
  • lib/crewai-tools/src/crewai_tools/tools/tavily_extractor_tool/tavily_extractor_tool.py
  • lib/crewai-tools/src/crewai_tools/tools/tavily_get_research_tool/tavily_get_research_tool.py
  • lib/crewai-tools/src/crewai_tools/tools/tavily_research_tool/tavily_research_tool.py
  • lib/crewai-tools/src/crewai_tools/tools/tavily_search_tool/tavily_search_tool.py

📝 Walkthrough

Walkthrough

Four Tavily tool files were updated so that both the synchronous TavilyClient and asynchronous AsyncTavilyClient are initialized with an additional client_name="crewai" parameter. No other logic, error handling, or public interfaces were changed.

Changes

Tavily client_name parameter addition

Layer / File(s) Summary
Tavily client initialization updates
lib/crewai-tools/.../tavily_extractor_tool.py, lib/crewai-tools/.../tavily_get_research_tool.py, lib/crewai-tools/.../tavily_research_tool.py, lib/crewai-tools/.../tavily_search_tool.py
Adds client_name="crewai" to both TavilyClient and AsyncTavilyClient constructor calls in each tool's __init__ method, alongside existing api_key (and proxies where applicable) arguments.
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title matches the main change by describing the addition of a client name to Tavily requests.
Description check ✅ Passed The description is clearly related to the four Tavily tool updates and explains the intent of classifying requests.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant