Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Typos in Multiple files #539

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/gemini/node/flutter_theme_agent/src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion examples/gemini/python/docs-agent/pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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=' '
Expand Down