-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Description
Overview
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.
Steps to Reproduce
- Initialize an agent:
agent = Agent(api_key=VIRTUALS_API_KEY)
- Attempt to access deployed attributes:
print(agent.goal) # Returns None print(agent.description) # Returns None
Proposal
- Implement a
sync()method (or equivalent) in theAgentclass that fetches the current state of the deployed version and updates the agent instance. Under the hood, there should be some similarsync()function in theGameSDKclass in thesrc/virtuals_sdk/sdk.py
Metadata
Metadata
Assignees
Labels
No labels