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

templates: remove gemini_function_agent unused file #18112

Merged
merged 2 commits into from
Mar 1, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/gemini-functions-agent/main.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from openai_functions_agent.agent import agent_executor

from gemini_functions_agent import agent_executor # from current folder
# Issue Not solved

Check failure on line 2 in templates/gemini-functions-agent/main.py

View workflow job for this annotation

GitHub Actions / cd . / make lint #3.8

Ruff (I001)

templates/gemini-functions-agent/main.py:1:1: I001 Import block is un-sorted or un-formatted

Check failure on line 2 in templates/gemini-functions-agent/main.py

View workflow job for this annotation

GitHub Actions / cd . / make lint #3.11

Ruff (I001)

templates/gemini-functions-agent/main.py:1:1: I001 Import block is un-sorted or un-formatted
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does this mean?

if __name__ == "__main__":
question = "who won the womens world cup in 2023?"
print(agent_executor.invoke({"input": question, "chat_history": []})) # noqa: T201
print(agent_executor.invoke({"input": question, "chat_history": []})) # noqa: T201