You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
No Sync Between Deployed Version and Agent Instance #14
When initializing an agent using Agent(api_key=VIRTUALS_API_KEY) from the GAME framework SDK (file: sdk/virtuals_sdk/game.py), the agent instance does not reflect the state of the deployed version. Specifically, retrieving attributes such as goal or description for the deployed version returns None, what indicates a lack of synchronization.
Expected Behavior
The agent instance initialized with an API key should automatically sync (or have an ability to sync) its state with the deployed version, ensuring that attributes like goal and description are populated with the deployed data.
Implement a sync() method (or equivalent) in the Agent class that fetches the current state of the deployed version and updates the agent instance. Under the hood, there should be some similar sync() function in the GameSDK class in the src/virtuals_sdk/sdk.py
I appreciate it. At the moment I have to overwrite my entire agent each time I make a small change. Would be great to have syncing, just in case I make a change while in Sandbox.
Activity
elTigre9 commentedon Jan 5, 2025
I appreciate it. At the moment I have to overwrite my entire agent each time I make a small change. Would be great to have syncing, just in case I make a change while in Sandbox.