Once started AutoGen studio console should print message with url to visit #5097
Open
Description
It would be handy to have a message in the output with the url to access studio. Simply as a nudge/helper in the right direction.
Current output:
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/pydantic/_internal/_config.py:295: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:297: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.10/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
warnings.warn(
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
warnings.warn( # deprecated in 14.0 - 2024-11-09
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/uvicorn/protocols/websockets/websockets_impl.py:17: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
from websockets.server import WebSocketServerProtocol
2025-01-17 08:12:20.968 | INFO | autogenstudio.web.initialization:__init__:40 - Initialized application data folder: app
INFO: Started server process [15983]
INFO: Waiting for application startup.
2025-01-17 08:12:20.983 | INFO | autogenstudio.web.app:lifespan:35 - Initializing application...
2025-01-17 08:12:21.000 | INFO | autogenstudio.database.db_manager:initialize_database:53 - Creating database tables...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:initialize_migrations:48 - Force reinitialization of migrations...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:_cleanup_existing_alembic:91 - Cleaning up existing Alembic configuration...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:_initialize_alembic:133 - Initializing alembic directory structure...
Creating directory '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic' ... done
Creating directory '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/versions' ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/script.py.mako ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/env.py ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/README ... done
File '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic.ini' already exists, skipping
Please edit configuration/connection/logging settings in '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic.ini' before proceeding.
2025-01-17 08:12:21.038 | INFO | autogenstudio.database.schema_manager:update_script_template:268 - Updated script template
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:_update_env_py:324 - Updated env.py with SQLModel metadata
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:_initialize_alembic:150 - Alembic initialization complete
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:initialize_migrations:63 - Creating initial migration...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/versions/5e836c99cc6f_initial_schema.py ... done
2025-01-17 08:12:21.082 | INFO | autogenstudio.web.app:lifespan:39 - Managers initialized successfully
2025-01-17 08:12:21.082 | INFO | autogenstudio.web.app:lifespan:42 - Application startup complete
Possible output:
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/pydantic/_internal/_config.py:295: PydanticDeprecatedSince20: Support for class-based `config` is deprecated, use ConfigDict instead. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
warnings.warn(DEPRECATION_MESSAGE, DeprecationWarning)
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:297: PydanticDeprecatedSince20: `json_encoders` is deprecated. See https://docs.pydantic.dev/2.10/concepts/serialization/#custom-serializers for alternatives. Deprecated in Pydantic V2.0 to be removed in V3.0. See Pydantic V2 Migration Guide at https://errors.pydantic.dev/2.10/migration/
warnings.warn(
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/websockets/legacy/__init__.py:6: DeprecationWarning: websockets.legacy is deprecated; see https://websockets.readthedocs.io/en/stable/howto/upgrade.html for upgrade instructions
warnings.warn( # deprecated in 14.0 - 2024-11-09
/Users/jackgerrits/w/autogen-studio-app-dir/.venv/lib/python3.13/site-packages/uvicorn/protocols/websockets/websockets_impl.py:17: DeprecationWarning: websockets.server.WebSocketServerProtocol is deprecated
from websockets.server import WebSocketServerProtocol
2025-01-17 08:12:20.968 | INFO | autogenstudio.web.initialization:__init__:40 - Initialized application data folder: app
INFO: Started server process [15983]
INFO: Waiting for application startup.
2025-01-17 08:12:20.983 | INFO | autogenstudio.web.app:lifespan:35 - Initializing application...
2025-01-17 08:12:21.000 | INFO | autogenstudio.database.db_manager:initialize_database:53 - Creating database tables...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:initialize_migrations:48 - Force reinitialization of migrations...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:_cleanup_existing_alembic:91 - Cleaning up existing Alembic configuration...
2025-01-17 08:12:21.022 | INFO | autogenstudio.database.schema_manager:_initialize_alembic:133 - Initializing alembic directory structure...
Creating directory '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic' ... done
Creating directory '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/versions' ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/script.py.mako ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/env.py ... done
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/README ... done
File '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic.ini' already exists, skipping
Please edit configuration/connection/logging settings in '/Users/jackgerrits/w/autogen-studio-app-dir/app/alembic.ini' before proceeding.
2025-01-17 08:12:21.038 | INFO | autogenstudio.database.schema_manager:update_script_template:268 - Updated script template
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:_update_env_py:324 - Updated env.py with SQLModel metadata
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:_initialize_alembic:150 - Alembic initialization complete
2025-01-17 08:12:21.039 | INFO | autogenstudio.database.schema_manager:initialize_migrations:63 - Creating initial migration...
INFO [alembic.runtime.migration] Context impl SQLiteImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
Generating /Users/jackgerrits/w/autogen-studio-app-dir/app/alembic/versions/5e836c99cc6f_initial_schema.py ... done
2025-01-17 08:12:21.082 | INFO | autogenstudio.web.app:lifespan:39 - Managers initialized successfully
2025-01-17 08:12:21.082 | INFO | autogenstudio.web.app:lifespan:42 - Application startup complete
2025-01-17 08:12:21.082 | INFO | autogenstudio - Navigate here: http://localhost:8080
(See last line)