mirror of
https://github.com/encounter/adk-python.git
synced 2026-07-09 18:19:28 -07:00
chore: fix typos in multiple files
Merge https://github.com/google/adk-python/pull/2864 **Reason for this change:** Multiple typos were found in comments, docstrings, and code throughout the codebase, which could lead to confusion and reduce code readability. **Changes made:** Fixed the following typos across 8 files: 1. contributing/samples/adk_answering_agent/utils.py:130: "extention" → "extension" 2. llms-full.txt:15171: "fuction" → "function" 3. src/google/adk/a2a/converters/part_converter.py: - Line 96: "Conver" → "Convert", "reponse" → "response" - Line 99: "suervice" → "service" - Line 100: "accordinlgy" → "accordingly" - Line 191: "Conver" → "Convert", "reponse" → "response" - Line 195: "accordinlgy" → "accordingly" 4. src/google/adk/agents/base_agent.py:568: "custome" → "custom" 5. src/google/adk/evaluation/agent_evaluator.py:572: "Retruns" → "Returns" 6. src/google/adk/flows/llm_flows/basic.py:55: "outoput_schema" → "output_schema" 7. src/google/adk/flows/llm_flows/contents.py:136: "fuction_response" → "function_response" 8. src/google/adk/models/google_llm.py:138: "gemini_llm_connecton.py" → "gemini_llm_connection.py" **Impact:** This change will: - Improve code documentation clarity and professionalism - Make comments, docstrings, and code more readable and accurate - Help prevent confusion for developers reading the code - Ensure consistency in terminology throughout the codebase This is a non-breaking change that only affects comments, documentation strings, and improves code clarity. COPYBARA_INTEGRATE_REVIEW=https://github.com/google/adk-python/pull/2864 from ammmr:chore-fix-typos 3cea9fcf6f21edb006b63e9258d2b82930dd961d PiperOrigin-RevId: 805227784
This commit is contained in:
committed by
Copybara-Service
parent
3e6d91f9e2
commit
5cda37adb3
@@ -93,11 +93,11 @@ def convert_a2a_part_to_genai_part(
|
||||
return None
|
||||
|
||||
if isinstance(part, a2a_types.DataPart):
|
||||
# Conver the Data Part to funcall and function reponse.
|
||||
# Convert the Data Part to funcall and function response.
|
||||
# This is mainly for converting human in the loop and auth request and
|
||||
# response.
|
||||
# TODO once A2A defined how to suervice such information, migrate below
|
||||
# logic accordinlgy
|
||||
# TODO once A2A defined how to service such information, migrate below
|
||||
# logic accordingly
|
||||
if (
|
||||
part.metadata
|
||||
and _get_adk_metadata_key(A2A_DATA_PART_METADATA_TYPE_KEY)
|
||||
@@ -188,11 +188,11 @@ def convert_genai_part_to_a2a_part(
|
||||
|
||||
return a2a_types.Part(root=a2a_part)
|
||||
|
||||
# Conver the funcall and function reponse to A2A DataPart.
|
||||
# Convert the funcall and function response to A2A DataPart.
|
||||
# This is mainly for converting human in the loop and auth request and
|
||||
# response.
|
||||
# TODO once A2A defined how to suervice such information, migrate below
|
||||
# logic accordinlgy
|
||||
# logic accordingly
|
||||
if part.function_call:
|
||||
return a2a_types.Part(
|
||||
root=a2a_types.DataPart(
|
||||
|
||||
Reference in New Issue
Block a user