What happened?
Describe the bug
- AutoGen Studio UI (Team Builder and Playground) initially fails to load in Google Chrome, displaying blank sections.
- The Gallery section loads correctly.
- A hard refresh (
Ctrl+Shift+R) in Google Chrome resolves the issue. I guess this is a caching problem. The UI functions correctly in Microsoft Edge without requiring a hard refresh.
- Additionnaly, with version >=0.4.2.dev, after the hard refresh, there are issues on both Edge and Chrome when clicking on
Team Builder or New team for example (see error below)
To Reproduce the caching problem
I tried with AGS version: 0.4.1.11 to 0.4.2.dev3
Default Browser: Google Chrome (Version 134.0.6998.89 (Official Build) (64-bit)).
- Team Builder and Playground are blank. Gallery loads.
- Hard refresh (
Ctrl+Shift+R): Team Builder and Playground should load.
- Try creating a new team.
To Reproduce the error with creating a New Team
This issue appears to be specific to the 0.4.2.devX versions. AGS version 0.4.1.11 seems to function correctly after a hard refresh.
Using a version >=0.4.2.dev.
- (After a hard refresh if using Chrome) Click on "Team Builder" or attempt to create a new team.
- You should see an error in the terminal (see "Additional Context").
Expected behavior
All UI sections (Team Builder, Playground, and Gallery) should load correctly in Google Chrome on the initial load, without requiring a hard refresh. Creating new teams and interacting with the UI should function without errors.
Screenshots versions from 0.4.1.11 to 0.4.2.dev3
with Chrome without hard refresh
- Playground (same for Team Builder)


with Edge without hard refresh
Playground

Screenshots using a version >=0.4.2.dev
** with Chrome with hard refresh**

Additional context
- I believe this issue started after a recent Chrome update, although I cannot pinpoint the exact version when it began.
- For version >=0.4.2.dev before AND after hard refresh: this ERROR shows up in the Terminal when i click on Team Builder for example
2025-03-14 08:14:46.756 | INFO | autogenstudio.web.app:lifespan:35 - Application startup complete. Navigate to http://127.0.0.1:8081
2025-03-14 08:15:05.031 | ERROR | autogenstudio.database.db_manager:upsert:174 - Error while updating/creating Gallery: (builtins.TypeError) Object of type SecretStr is not JSON serializable
[SQL: INSERT INTO gallery (created_at, updated_at, user_id, version, config) VALUES (?, ?, ?, ?, ?)]
[parameters: [{'created_at': datetime.datetime(2025, 3, 14, 8, 15, 5, 29947), 'version': '0.0.1', 'user_id': 'guestuser@gmail.com', 'config': {'id': 'gallery_defaul ... (59702 characters truncated) ... NLY RETURN THE ROLE.", 'allow_repeated_speaker': True, 'max_selector_attempts': 3}}]}}, 'updated_at': datetime.datetime(2025, 3, 14, 8, 15, 5, 29947)}]]
Which packages was the bug in?
AutoGen Studio (autogensudio)
Operating system
Windows
What happened?
Describe the bug
Ctrl+Shift+R) in Google Chrome resolves the issue. I guess this is a caching problem. The UI functions correctly in Microsoft Edge without requiring a hard refresh.Team BuilderorNew teamfor example (see error below)To Reproduce the caching problem
I tried with AGS version: 0.4.1.11 to 0.4.2.dev3
Default Browser: Google Chrome (Version 134.0.6998.89 (Official Build) (64-bit)).
Ctrl+Shift+R): Team Builder and Playground should load.To Reproduce the error with creating a New Team
This issue appears to be specific to the 0.4.2.devX versions. AGS version 0.4.1.11 seems to function correctly after a hard refresh.
Using a version >=0.4.2.dev.
Expected behavior
All UI sections (Team Builder, Playground, and Gallery) should load correctly in Google Chrome on the initial load, without requiring a hard refresh. Creating new teams and interacting with the UI should function without errors.
Screenshots versions from 0.4.1.11 to 0.4.2.dev3
with Chrome
without hard refreshwith Edge

without hard refreshPlayground
Screenshots using a version >=0.4.2.dev
** with Chrome
with hard refresh**Additional context
Which packages was the bug in?
AutoGen Studio (autogensudio)
Operating system
Windows