diff --git a/examples/gemini/node/flutter_theme_agent/src/theme.ts b/examples/gemini/node/flutter_theme_agent/src/theme.ts index 2b817edfc..fabb45576 100644 --- a/examples/gemini/node/flutter_theme_agent/src/theme.ts +++ b/examples/gemini/node/flutter_theme_agent/src/theme.ts @@ -75,7 +75,7 @@ available color properties on a ColorScheme instead of using deprecated properti like Color Swatch. ${COMMENT_LABEL} -Construct a ThemeData object with a pastel pink color palette that is asthetically +Construct a ThemeData object with a pastel pink color palette that is aesthetically pleasing and a the CardTheme that removes elevation and adds a 2px black border. ${CODE_LABEL} ThemeData( diff --git a/examples/gemini/python/docs-agent/docs_agent/interfaces/chatbot/chatui.py b/examples/gemini/python/docs-agent/docs_agent/interfaces/chatbot/chatui.py index 4b713050d..73e7378f0 100644 --- a/examples/gemini/python/docs-agent/docs_agent/interfaces/chatbot/chatui.py +++ b/examples/gemini/python/docs-agent/docs_agent/interfaces/chatbot/chatui.py @@ -278,7 +278,7 @@ def debugs(filename): return bp -# Go through the `seatch_result` object returned from the AQA model +# Go through the `search_result` object returned from the AQA model # and extract context. def extract_context_from_search_result(search_result): context = "" @@ -292,7 +292,7 @@ def extract_context_from_search_result(search_result): # Construct a set of prompts using the user question, send the prompts to -# the lanaguage model, receive responses, and present them into a page. +# the language model, receive responses, and present them into a page. # Use template to specify a custom template for the classic web UI def ask_model(question, agent, template: str = "chatui/index.html"): # Returns a built context, a total token count of the context and an array diff --git a/examples/gemini/python/docs-agent/docs_agent/interfaces/cli/cli_helpme.py b/examples/gemini/python/docs-agent/docs_agent/interfaces/cli/cli_helpme.py index 5b35c0756..73db84580 100644 --- a/examples/gemini/python/docs-agent/docs_agent/interfaces/cli/cli_helpme.py +++ b/examples/gemini/python/docs-agent/docs_agent/interfaces/cli/cli_helpme.py @@ -327,7 +327,7 @@ def helpme( this_file = os.path.realpath(os.path.join(os.getcwd(), file)) this_output = "" - # if the `--cont` flag is set, inlcude the previous exchanges as additional context. + # if the `--cont` flag is set, include the previous exchanges as additional context. context_file = None if cont: context_file = history_file @@ -432,7 +432,7 @@ def helpme( if file_ext is None or file_ext == "": file_type = "All types" - # if the `--cont` flag is set, inlcude the previous exchanges as additional context. + # if the `--cont` flag is set, include the previous exchanges as additional context. context_file = None if cont: context_file = history_file @@ -732,7 +732,7 @@ def helpme( print(f"Failed to write the output to file: {out}") elif helpme_mode == "TERMINAL_OUTPUT": - # Terminal output mode, which reads the terminal ouput as context. + # Terminal output mode, which reads the terminal output as context. terminal_output = "" # Set the default filename created from the `script` command. file_path = "/tmp/docs_agent_console_input" diff --git a/examples/gemini/python/docs-agent/pylintrc b/examples/gemini/python/docs-agent/pylintrc index 5626ae60e..fcb2930cd 100644 --- a/examples/gemini/python/docs-agent/pylintrc +++ b/examples/gemini/python/docs-agent/pylintrc @@ -277,7 +277,7 @@ single-line-if-stmt=yes max-module-lines=99999 # String used as indentation unit. The internal Google style guide mandates 2 -# spaces. Google's externaly-published style guide says 4, consistent with +# spaces. Google's externally-published style guide says 4, consistent with # PEP 8. Here, we use 2 spaces, for conformity with many open-sourced Google # projects (like TensorFlow). indent-string=' '