mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: Fix spelling
Merge https://github.com/google/adk-python/pull/2447 This PR corrects misspellings identified by the [check-spelling action](https://github.com/marketplace/actions/check-spelling) The misspellings have been reported at https://github.com/jsoref/adk-python/actions/runs/16840838898/attempts/1#summary-47711379253 The action reports that the changes in this PR would make it happy: https://github.com/jsoref/adk-python/actions/runs/16840839269/attempts/1#summary-47711380479 Note: while I use tooling to identify errors, the tooling doesn't _actually_ provide the corrections, I'm picking them on my own. I'm a human, and I may make mistakes. I've included a couple of changes to make CI happy. Personally, I object to CI being in a state of "random drive by person who adds a blank line in the middle of a file must fix all the preexisting bugs in the file", but that appears to be the state for this repository. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2447 from jsoref:spelling d85398e7fd154d124d477c6af6181481a01f34e0 PiperOrigin-RevId: 827629615
This commit is contained in:
committed by
Copybara-Service
parent
8dff85099d
commit
aa1233608a
@@ -90,17 +90,17 @@ def complex_function_list_dict(
|
||||
raise ValueError("Wrong param")
|
||||
|
||||
|
||||
def repetive_call_1(param: str):
|
||||
return f"Call repetive_call_2 tool with param {param + '_repetive'}"
|
||||
def repetitive_call_1(param: str):
|
||||
return f"Call repetitive_call_2 tool with param {param + '_repetitive'}"
|
||||
|
||||
|
||||
def repetive_call_2(param: str):
|
||||
def repetitive_call_2(param: str):
|
||||
return param
|
||||
|
||||
|
||||
test_case_retrieval = FilesRetrieval(
|
||||
name="test_case_retrieval",
|
||||
description="General guidence for agent test cases",
|
||||
description="General guidance for agent test cases",
|
||||
input_dir=os.path.join(os.path.dirname(__file__), "files"),
|
||||
)
|
||||
|
||||
@@ -109,7 +109,7 @@ valid_rag_retrieval = VertexAiRagRetrieval(
|
||||
rag_corpora=[
|
||||
"projects/1096655024998/locations/us-central1/ragCorpora/4985766262475849728"
|
||||
],
|
||||
description="General guidence for agent test cases",
|
||||
description="General guidance for agent test cases",
|
||||
)
|
||||
|
||||
invalid_rag_retrieval = VertexAiRagRetrieval(
|
||||
@@ -131,7 +131,7 @@ non_exist_rag_retrieval = VertexAiRagRetrieval(
|
||||
shell_tool = LangchainTool(ShellTool())
|
||||
|
||||
docs_tool = CrewaiTool(
|
||||
name="direcotry_read_tool",
|
||||
name="directory_read_tool",
|
||||
description="use this to find files for you.",
|
||||
tool=DirectoryReadTool(directory="."),
|
||||
)
|
||||
@@ -194,8 +194,8 @@ root_agent = Agent(
|
||||
list_str_param_function,
|
||||
return_list_str_function,
|
||||
# complex_function_list_dict,
|
||||
repetive_call_1,
|
||||
repetive_call_2,
|
||||
repetitive_call_1,
|
||||
repetitive_call_2,
|
||||
test_case_retrieval,
|
||||
valid_rag_retrieval,
|
||||
invalid_rag_retrieval,
|
||||
|
||||
Reference in New Issue
Block a user