diff --git a/cognee/api/v1/ui/ui.py b/cognee/api/v1/ui/ui.py index aae0ad5a9..463c22acb 100644 --- a/cognee/api/v1/ui/ui.py +++ b/cognee/api/v1/ui/ui.py @@ -327,7 +327,7 @@ def prompt_user_for_download() -> bool: def start_ui( host: str = "localhost", - port: int = 3001, + port: int = 3000, open_browser: bool = True, auto_download: bool = False, ) -> Optional[subprocess.Popen]: @@ -343,7 +343,7 @@ def start_ui( Args: host: Host to bind the server to (default: localhost) - port: Port to run the server on (default: 3001) + port: Port to run the server on (default: 3000) open_browser: Whether to open the browser automatically (default: True) auto_download: If True, download frontend without prompting (default: False) @@ -353,7 +353,7 @@ def start_ui( Example: >>> import cognee >>> server = cognee.start_ui() - >>> # UI will be available at http://localhost:3001 + >>> # UI will be available at http://localhost:3000 >>> # To stop the server later: >>> server.terminate() """ diff --git a/cognee/cli/_cognee.py b/cognee/cli/_cognee.py index 1c9406143..540c4dc12 100644 --- a/cognee/cli/_cognee.py +++ b/cognee/cli/_cognee.py @@ -205,11 +205,11 @@ def main() -> int: from cognee import start_ui fmt.echo("Starting cognee UI...") - server_process = start_ui(host="localhost", port=3001, open_browser=True) + server_process = start_ui(host="localhost", port=3000, open_browser=True) if server_process: fmt.success("UI server started successfully!") - fmt.echo("The interface is available at: http://localhost:3001") + fmt.echo("The interface is available at: http://localhost:3000") fmt.note("Press Ctrl+C to stop the server...") try: