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

PMAT 0.24.0 #5

Merged
merged 1 commit into from
May 7, 2024
Merged
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
4 changes: 2 additions & 2 deletions mech_tool_deployment/agents/mech_agent/deploy.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
from prediction_market_agent_tooling.benchmark.utils import OutcomePrediction
from prediction_market_agent_tooling.deploy.agent import DeployableAgent
from prediction_market_agent_tooling.deploy.agent import DeployableTraderAgent
from prediction_market_agent_tooling.markets.agent_market import AgentMarket

from mech_tool_deployment.utils import MechResponse, MechTool, mech_request_local


class DeployableMechAgentBase(DeployableAgent):
class DeployableMechAgentBase(DeployableTraderAgent):
bet_on_n_markets_per_run: int = 5

def load(self) -> None:
Expand Down
2 changes: 1 addition & 1 deletion mech_tool_deployment/run_agent.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""
Entrypoint for running the agent in GKE.
If the agent adheres to PMAT standard (subclasses DeployableAgent),
If the agent adheres to PMAT standard (subclasses DeployableTraderAgent),
simply add the agent to the `RunnableAgent` enum and then `RUNNABLE_AGENTS` dict.

Can also be executed locally, simply by running `python mech_tool_deployment/run_agent.py <agent> <market_type>`.
Expand Down
103 changes: 52 additions & 51 deletions poetry.lock

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

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ mypy = "^1.8.0"
black = "^23.12.1"
autoflake = "^2.2.1"
isort = "^5.13.2"
prediction-market-agent-tooling = { version = "^0.23.0", extras = ["google"] }
prediction-market-agent-tooling = { version = "^0.24.0", extras = ["google"] }
mech = { git = "https://github.com/evangriffiths/mech.git", branch = "evan/0179545-dev-tomte-dep" }

[build-system]
Expand Down
Loading