mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 08:08:32 +00:00
Update GitHubSearchTool.md (#357)
GithubSearchTool was misspelled as GitHubSearchTool Co-authored-by: João Moura <joaomdmoura@gmail.com>
This commit is contained in:
@@ -22,15 +22,15 @@ from crewai_tools import GithubSearchTool
|
|||||||
|
|
||||||
# Initialize the tool for semantic searches within a specific GitHub repository
|
# Initialize the tool for semantic searches within a specific GitHub repository
|
||||||
tool = GithubSearchTool(
|
tool = GithubSearchTool(
|
||||||
github_repo='https://github.com/example/repo',
|
github_repo='https://github.com/example/repo',
|
||||||
content_types=['code', 'issue'] # Options: code, repo, pr, issue
|
content_types=['code', 'issue'] # Options: code, repo, pr, issue
|
||||||
)
|
)
|
||||||
|
|
||||||
# OR
|
# OR
|
||||||
|
|
||||||
# Initialize the tool for semantic searches within a specific GitHub repository, so the agent can search any repository if it learns about during its execution
|
# Initialize the tool for semantic searches within a specific GitHub repository, so the agent can search any repository if it learns about during its execution
|
||||||
tool = GithubSearchTool(
|
tool = GithubSearchTool(
|
||||||
content_types=['code', 'issue'] # Options: code, repo, pr, issue
|
content_types=['code', 'issue'] # Options: code, repo, pr, issue
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user