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
@@ -127,7 +127,7 @@ def convert_gcs_to_https(gcs_uri: str) -> Optional[str]:
|
||||
# Use the directory path if it is a index file
|
||||
final_path_segment = os.path.dirname(path_after_docs)
|
||||
else:
|
||||
# Otherwise, use the file name without extention
|
||||
# Otherwise, use the file name without extension
|
||||
final_path_segment = path_after_docs.removesuffix(".md")
|
||||
|
||||
if final_path_segment and not final_path_segment.endswith("/"):
|
||||
|
||||
Reference in New Issue
Block a user