From e76cea7bbf6a6286f04a53ba02d2f3e31328d14d Mon Sep 17 00:00:00 2001 From: evangriffiths Date: Wed, 20 Mar 2024 15:42:48 +0000 Subject: [PATCH] Fix github url in deploy code --- prediction_market_agent/agents/known_outcome_agent/deploy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/prediction_market_agent/agents/known_outcome_agent/deploy.py b/prediction_market_agent/agents/known_outcome_agent/deploy.py index bb7ff33..d364ed3 100644 --- a/prediction_market_agent/agents/known_outcome_agent/deploy.py +++ b/prediction_market_agent/agents/known_outcome_agent/deploy.py @@ -63,7 +63,7 @@ def calculate_bet_amount(self, answer: bool, market: AgentMarket) -> BetAmount: if __name__ == "__main__": agent = DeployableKnownOutcomeAgent() agent.deploy_gcp( - repository=f"git+{get_current_git_url()}.git@{get_current_git_commit_sha()}", + repository=f"git+{get_current_git_url()}@{get_current_git_commit_sha()}", market_type=MarketType.OMEN, labels={OWNER_KEY: getpass.getuser()}, secrets={ @@ -78,6 +78,6 @@ def calculate_bet_amount(self, answer: bool, market: AgentMarket) -> BetAmount: OPENAI_API_KEY=SecretStr("EVAN_OPENAI_API_KEY:latest"), MANIFOLD_API_KEY=None, ), - cron_schedule="0 */4 * * *", + cron_schedule="0 */12 * * *", timeout=540, )