mirror of
https://github.com/Monadical-SAS/reflector.git
synced 2025-12-20 12:19:06 +00:00
server: refactor to reflector module
- replaced loguru to structlog, to get ability of having open tracing later - moved configuration to pydantic-settings - merged both secrets.ini and config.ini to .env (check reflector/settings.py)
This commit is contained in:
@@ -33,12 +33,12 @@ Then run the server:
|
||||
|
||||
```
|
||||
# With a config.ini
|
||||
$ poetry run python server.py
|
||||
$ poetry run python -m reflector.server
|
||||
|
||||
|
||||
# Within a poetry env
|
||||
$ poetry shell
|
||||
$ LLM_URL=http://.../api/v1/generate python server.py
|
||||
$ LLM_URL=http://.../api/v1/generate python -m reflector.server
|
||||
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user