Skip to content

Commit

Permalink
PMAT 0.24.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed May 7, 2024
1 parent 70e1e3e commit 55c1d5e
Show file tree
Hide file tree
Showing 4 changed files with 56 additions and 55 deletions.
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

0 comments on commit 55c1d5e

Please sign in to comment.