Update environment variables, Docker configuration, and dependencies; refactor token management and chat agent logic. Added FastAPI server setup and improved message handling in GigaChat client.

This commit is contained in:
FDKost committed 2025-12-24 01:57:36 +03:00
1 parent 353c8ba130
commit 9a0407e87e
12 files changed
+348 -50

No files matched your search

+3 -3
View File
@@ -40,13 +40,13 @@ COPY models/ ./models/
COPY services/ ./services/
COPY prompts/ ./prompts/
COPY scripts/ ./scripts/
COPY app.py ./
# Установка переменных окружения
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app
# По умолчанию запускаем Python REPL для интерактивного использования
# В production это будет использоваться как библиотека, импортируемая в backend
CMD ["python"]
# Запуск FastAPI сервера
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]