feat: add console entry point and async chat streaming in client module

- Register yura CLI entry point in setup.cfg pointing to yura.cli:run
- Add new src/yura/cli.py module for command-line interface
- Implement streaming chat method in AsyncClient with websocket connection handling
- Fix ensure_connection method signature to include self parameter
- Remove redundant done check from cli_client loop to avoid premature exit
This commit is contained in:
2024-11-27 22:46:21 +00:00
parent 2ec22695f8
commit b9d20b4a3d
5 changed files with 26 additions and 7 deletions
+4
View File
@@ -18,3 +18,7 @@ install_requires =
[options.packages.find]
where = src
[options.entry_points]
console_scripts =
yura = yura.cli:run