Skip to content

Commit df5d28a

Browse files
aksOpsclaude
andcommitted
Suppress websockets deprecation warnings in serve command
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9523a4f commit df5d28a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

src/osscodeiq/cli.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,10 @@ def serve(
693693
config: Annotated[Optional[Path], typer.Option("--config", "-c")] = None,
694694
) -> None:
695695
"""Start the OSSCodeIQ server (API + MCP on one port)."""
696+
import warnings
697+
warnings.filterwarnings("ignore", category=DeprecationWarning, module="websockets")
698+
warnings.filterwarnings("ignore", category=DeprecationWarning, module="uvicorn")
699+
696700
import uvicorn
697701
from osscodeiq.server.app import create_app
698702

0 commit comments

Comments
 (0)