Skip to content

Commit

Permalink
feat!: drop retries
Browse files Browse the repository at this point in the history
we need to figure out a more robust strategy for retrying actions within a dynamic page
  • Loading branch information
p0deje committed Nov 1, 2024
1 parent 6b3c9af commit bb6b59d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 42 deletions.
2 changes: 0 additions & 2 deletions alumnium/alumni.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
from langchain_openai import AzureChatOpenAI, ChatOpenAI
from langchain_google_genai import ChatGoogleGenerativeAI

from retry import retry
from selenium.webdriver.remote.webdriver import WebDriver

from .agents import ActorAgent, VerifierAgent
Expand Down Expand Up @@ -41,7 +40,6 @@ def __init__(self, driver: WebDriver, model: Model = Model.load()):
def quit(self):
self.driver.quit()

@retry(tries=2, delay=0.1)
def do(self, goal: str):
self.actor_agent.invoke(goal)

Expand Down
39 changes: 1 addition & 38 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,13 @@ langchain = "^0.3"
langchain-anthropic = "^0.2"
langchain-google-genai = "^2.0"
langchain-openai = "^0.2"
retry = "^0.9"
selenium = "^4.0"

[tool.poetry.group.dev.dependencies]
behave = "^1.2.6"
behave-html-pretty-formatter = "^1.12"
pytest = "^8.3.3"
pytest-html = "^4.1.1"
behave-html-pretty-formatter = "^1.12"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit bb6b59d

Please sign in to comment.