-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'peter/gcp-secrets-labels' into peter/refactor-deployment
- Loading branch information
Showing
20 changed files
with
933 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
from datetime import datetime, timedelta | ||
from zoneinfo import ZoneInfo | ||
|
||
import streamlit as st | ||
|
||
from prediction_market_agent_tooling.markets.manifold import get_authenticated_user | ||
from prediction_market_agent_tooling.monitor.markets.manifold import ( | ||
DeployedManifoldAgent, | ||
) | ||
from prediction_market_agent_tooling.monitor.monitor import monitor_agent | ||
|
||
if __name__ == "__main__": | ||
start_time = datetime.now() - timedelta(weeks=1) | ||
agent = DeployedManifoldAgent( | ||
name="foo", | ||
start_time=start_time.astimezone(ZoneInfo("UTC")), | ||
manifold_user_id=get_authenticated_user().id, | ||
) | ||
st.set_page_config(layout="wide") # Best viewed with a wide screen | ||
st.title(f"Monitoring Agent: '{agent.name}'") | ||
monitor_agent(agent) |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.