Skip to content

Commit

Permalink
chore: moving files around
Browse files Browse the repository at this point in the history
  • Loading branch information
adubovik committed Feb 14, 2025
1 parent bf10590 commit 97d3da8
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 6 deletions.
4 changes: 3 additions & 1 deletion examples/tic_tac_toe/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM python:3.11-alpine

RUN apk add --no-cache git

ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

Expand All @@ -13,4 +15,4 @@ RUN adduser -u 1001 --disabled-password --gecos "" appuser && chown -R appuser /
USER appuser

EXPOSE 5000
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "5000"]
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "5000"]
Empty file.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
ConfigurationResponse,
)
from aidial_sdk.pydantic_v1 import BaseModel, Field
from examples.tic_tac_toe.game import GameState, Move, Player
from examples.tic_tac_toe.request import (

from .game import GameState, Move, Player
from .request import (
get_configuration,
get_message_form_value,
get_message_state,
Expand Down
File renamed without changes.
6 changes: 4 additions & 2 deletions examples/tic_tac_toe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
aidial-sdk>=0.10
uvicorn==0.30.1
git+https://github.com/epam/ai-dial-sdk.git@feat/improve-configuration-validation#egg=aidial-sdk
uvicorn==0.30.1
wrapt
fastapi
2 changes: 1 addition & 1 deletion tests/examples/test_tic_tac_toe.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random
from typing import List

from examples.tic_tac_toe.app import app
from examples.tic_tac_toe.app.main import app
from tests.utils.client import create_test_client


Expand Down

0 comments on commit 97d3da8

Please sign in to comment.