Skip to content

Commit fe1808d

Browse files
authored
Update Typos in Multiple files (#539)
* Update theme.ts * Updated Typo
1 parent c4caebd commit fe1808d

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

examples/gemini/node/flutter_theme_agent/src/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ available color properties on a ColorScheme instead of using deprecated properti
7575
like Color Swatch.
7676
7777
${COMMENT_LABEL}
78-
Construct a ThemeData object with a pastel pink color palette that is asthetically
78+
Construct a ThemeData object with a pastel pink color palette that is aesthetically
7979
pleasing and a the CardTheme that removes elevation and adds a 2px black border.
8080
${CODE_LABEL}
8181
ThemeData(

examples/gemini/python/docs-agent/docs_agent/interfaces/chatbot/chatui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def debugs(filename):
278278
return bp
279279

280280

281-
# Go through the `seatch_result` object returned from the AQA model
281+
# Go through the `search_result` object returned from the AQA model
282282
# and extract context.
283283
def extract_context_from_search_result(search_result):
284284
context = ""
@@ -292,7 +292,7 @@ def extract_context_from_search_result(search_result):
292292

293293

294294
# Construct a set of prompts using the user question, send the prompts to
295-
# the lanaguage model, receive responses, and present them into a page.
295+
# the language model, receive responses, and present them into a page.
296296
# Use template to specify a custom template for the classic web UI
297297
def ask_model(question, agent, template: str = "chatui/index.html"):
298298
# Returns a built context, a total token count of the context and an array

examples/gemini/python/docs-agent/docs_agent/interfaces/cli/cli_helpme.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ def helpme(
327327
this_file = os.path.realpath(os.path.join(os.getcwd(), file))
328328
this_output = ""
329329

330-
# if the `--cont` flag is set, inlcude the previous exchanges as additional context.
330+
# if the `--cont` flag is set, include the previous exchanges as additional context.
331331
context_file = None
332332
if cont:
333333
context_file = history_file
@@ -432,7 +432,7 @@ def helpme(
432432
if file_ext is None or file_ext == "":
433433
file_type = "All types"
434434

435-
# if the `--cont` flag is set, inlcude the previous exchanges as additional context.
435+
# if the `--cont` flag is set, include the previous exchanges as additional context.
436436
context_file = None
437437
if cont:
438438
context_file = history_file
@@ -732,7 +732,7 @@ def helpme(
732732
print(f"Failed to write the output to file: {out}")
733733

734734
elif helpme_mode == "TERMINAL_OUTPUT":
735-
# Terminal output mode, which reads the terminal ouput as context.
735+
# Terminal output mode, which reads the terminal output as context.
736736
terminal_output = ""
737737
# Set the default filename created from the `script` command.
738738
file_path = "/tmp/docs_agent_console_input"

examples/gemini/python/docs-agent/pylintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ single-line-if-stmt=yes
277277
max-module-lines=99999
278278

279279
# String used as indentation unit. The internal Google style guide mandates 2
280-
# spaces. Google's externaly-published style guide says 4, consistent with
280+
# spaces. Google's externally-published style guide says 4, consistent with
281281
# PEP 8. Here, we use 2 spaces, for conformity with many open-sourced Google
282282
# projects (like TensorFlow).
283283
indent-string=' '

0 commit comments

Comments
 (0)