Skip to content

Commit

Permalink
Merge pull request #34 from gnosis/evan/known_outcome_agent-deploy-fix
Browse files Browse the repository at this point in the history
Fix github url in deploy code
  • Loading branch information
evangriffiths authored Mar 20, 2024
2 parents 5cd7cfb + e76cea7 commit 14153e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prediction_market_agent/agents/known_outcome_agent/deploy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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={
Expand All @@ -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,
)

0 comments on commit 14153e8

Please sign in to comment.