Skip to content

Commit

Permalink
update: req and unit_config.json
Browse files Browse the repository at this point in the history
  • Loading branch information
1martin1 committed Jan 19, 2025
1 parent 7410afb commit a989347
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
2 changes: 0 additions & 2 deletions protollm_tools/llm-api/protollm_api/backend/endpoints.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
from protollm_sdk.object_interface.redis_wrapper import RedisWrapper
from protollm_sdk.object_interface.rabbit_mq_wrapper import RabbitMQWrapper

from tests.integration.test_local_RMQ import rabbitmq_connection

logging.basicConfig(level=logging.INFO)
logger = logging.getLogger(__name__)

Expand Down
2 changes: 1 addition & 1 deletion protollm_tools/llm-api/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pika==1.3.2 ; python_version >= "3.10" and python_version < "4.0"
prometheus-client==0.21.0 ; python_version >= "3.10" and python_version < "4.0"
prompt-toolkit==3.0.48 ; python_version >= "3.10" and python_version < "4.0"
propcache==0.2.0 ; python_version >= "3.10" and python_version < "4.0"
protollm-sdk==1.0.0 ; python_version >= "3.10" and python_version < "4.0"
protollm-sdk==1.1.0 ; python_version >= "3.10" and python_version < "4.0"
pydantic-core==2.23.4 ; python_version >= "3.10" and python_version < "4.0"
pydantic==2.9.2 ; python_version >= "3.10" and python_version < "4.0"
pygments==2.18.0 ; python_version >= "3.10" and python_version < "4.0"
Expand Down
15 changes: 15 additions & 0 deletions protollm_tools/llm-api/unit_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"listeners": {
"*:6672": {
"pass": "applications/backend"
}
},
"applications": {
"backend": {
"type": "python",
"path": ".",
"module": "protollm_api.backend.main",
"callable": "app"
}
}
}

0 comments on commit a989347

Please sign in to comment.