From 52e0928f5864bc67ad5ef7698e2ef7ca9ffdb3fb Mon Sep 17 00:00:00 2001 From: Davor Runje Date: Mon, 11 Nov 2024 12:16:33 +0100 Subject: [PATCH] Updated packages and cookiecutter (#550) --- .../getting_started/fastapi/folder_structure.txt | 11 ++++++++--- .../my_fastagency_app/.devcontainer/devcontainer.json | 2 +- .../my_fastagency_app/deployment/firebase/.gitignore | 1 + .../deployment/firebase/allowed_users.yaml | 3 +++ .../deployment/firebase/firebase_config.yaml | 8 ++++++++ .../fastapi/my_fastagency_app/docker/Dockerfile | 4 +++- .../docker/{ => content}/nginx.conf.template | 0 .../docker/{ => content}/run_fastagency.sh | 0 .../my_fastagency_app/deployment/main_2_mesop.py | 2 ++ .../fastapi/my_fastagency_app/pyproject.toml | 1 + .../fastapi/my_fastagency_app/scripts/run_docker.sh | 2 +- .../getting_started/mesop/folder_structure.txt | 11 ++++++++--- .../my_fastagency_app/.devcontainer/devcontainer.json | 2 +- .../my_fastagency_app/deployment/firebase/.gitignore | 1 + .../deployment/firebase/allowed_users.yaml | 3 +++ .../deployment/firebase/firebase_config.yaml | 8 ++++++++ .../mesop/my_fastagency_app/docker/Dockerfile | 4 +++- .../docker/{ => content}/nginx.conf.template | 0 .../docker/{ => content}/run_fastagency.sh | 0 .../mesop/my_fastagency_app/pyproject.toml | 1 + .../mesop/my_fastagency_app/scripts/run_docker.sh | 2 +- .../nats_n_fastapi/folder_structure.txt | 11 ++++++++--- .../my_fastagency_app/.devcontainer/devcontainer.json | 2 +- .../my_fastagency_app/deployment/firebase/.gitignore | 1 + .../deployment/firebase/allowed_users.yaml | 3 +++ .../deployment/firebase/firebase_config.yaml | 8 ++++++++ .../my_fastagency_app/docker/Dockerfile | 4 +++- .../docker/{ => content}/nginx.conf.template | 0 .../docker/{ => content}/run_fastagency.sh | 0 .../my_fastagency_app/deployment/main_3_mesop.py | 2 ++ .../nats_n_fastapi/my_fastagency_app/pyproject.toml | 1 + .../my_fastagency_app/scripts/run_docker.sh | 2 +- pyproject.toml | 8 ++++---- 33 files changed, 86 insertions(+), 22 deletions(-) create mode 100644 docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/.gitignore create mode 100644 docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml create mode 100644 docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml rename docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/{ => content}/nginx.conf.template (100%) rename docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/{ => content}/run_fastagency.sh (100%) create mode 100644 docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/.gitignore create mode 100644 docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/allowed_users.yaml create mode 100644 docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/firebase_config.yaml rename docs/docs_src/getting_started/mesop/my_fastagency_app/docker/{ => content}/nginx.conf.template (100%) rename docs/docs_src/getting_started/mesop/my_fastagency_app/docker/{ => content}/run_fastagency.sh (100%) create mode 100644 docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/.gitignore create mode 100644 docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml create mode 100644 docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml rename docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/{ => content}/nginx.conf.template (100%) rename docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/{ => content}/run_fastagency.sh (100%) diff --git a/docs/docs_src/getting_started/fastapi/folder_structure.txt b/docs/docs_src/getting_started/fastapi/folder_structure.txt index ab668d7e..4cd61473 100644 --- a/docs/docs_src/getting_started/fastapi/folder_structure.txt +++ b/docs/docs_src/getting_started/fastapi/folder_structure.txt @@ -1,8 +1,13 @@ my_fastagency_app +├── deployment +│   └── firebase +│   ├── allowed_users.yaml +│   └── firebase_config.yaml ├── docker -│   ├── Dockerfile -│   ├── nginx.conf.template -│   └── run_fastagency.sh +│   ├── content +│   │   ├── nginx.conf.template +│   │   └── run_fastagency.sh +│   └── Dockerfile ├── my_fastagency_app │   ├── deployment │   │   ├── __init__.py diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/.devcontainer/devcontainer.json b/docs/docs_src/getting_started/fastapi/my_fastagency_app/.devcontainer/devcontainer.json index 7722c83c..78a0542a 100644 --- a/docs/docs_src/getting_started/fastapi/my_fastagency_app/.devcontainer/devcontainer.json +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/.devcontainer/devcontainer.json @@ -14,7 +14,7 @@ }, "ANTHROPIC_API_KEY": { "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal." - }, + } }, "shutdownAction": "stopCompose", "workspaceFolder": "/workspaces/my_fastagency_app", diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/.gitignore b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/.gitignore new file mode 100644 index 00000000..89ccd39e --- /dev/null +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/.gitignore @@ -0,0 +1 @@ +serviceAccountKey.json diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml new file mode 100644 index 00000000..c667f6bb --- /dev/null +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml @@ -0,0 +1,3 @@ +# list all allowed users +- someone@somewhere.com +# - someone.else@somewhere.com diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml new file mode 100644 index 00000000..8ea66ad9 --- /dev/null +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml @@ -0,0 +1,8 @@ +# You can find the guide for getting the config values here: +# https://support.google.com/firebase/answer/7015592?hl=en#web&zippy=%2Cin-this-article +api_key: "" +auth_domain: "" +project_id: "" +storage_bucket: "" +messaging_sender_id: "" +app_id: "" diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/Dockerfile b/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/Dockerfile index 52686098..d2c2ef95 100644 --- a/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/Dockerfile +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/Dockerfile @@ -8,7 +8,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends nginx gettext \ COPY my_fastagency_app /app/my_fastagency_app -COPY pyproject.toml README.md docker/run_fastagency.sh docker/nginx.conf.template /app/ +COPY pyproject.toml README.md /app/ +COPY docker/content/* /app/ + RUN pip install --upgrade pip && pip install --no-cache-dir -e "." diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/nginx.conf.template b/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/content/nginx.conf.template similarity index 100% rename from docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/nginx.conf.template rename to docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/content/nginx.conf.template diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/run_fastagency.sh b/docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/content/run_fastagency.sh similarity index 100% rename from docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/run_fastagency.sh rename to docs/docs_src/getting_started/fastapi/my_fastagency_app/docker/content/run_fastagency.sh diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/my_fastagency_app/deployment/main_2_mesop.py b/docs/docs_src/getting_started/fastapi/my_fastagency_app/my_fastagency_app/deployment/main_2_mesop.py index 447ebe67..3e2b8b53 100644 --- a/docs/docs_src/getting_started/fastapi/my_fastagency_app/my_fastagency_app/deployment/main_2_mesop.py +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/my_fastagency_app/deployment/main_2_mesop.py @@ -7,6 +7,8 @@ provider = FastAPIAdapter.create_provider( fastapi_url=fastapi_url, ) +ui = MesopUI() + app = FastAgency( provider=provider, diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/pyproject.toml b/docs/docs_src/getting_started/fastapi/my_fastagency_app/pyproject.toml index f08787cc..66115547 100644 --- a/docs/docs_src/getting_started/fastapi/my_fastagency_app/pyproject.toml +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/pyproject.toml @@ -9,6 +9,7 @@ name = "my_fastagency_app" dependencies = [ "fastagency[autogen,mesop,server,fastapi]>=0.3.0", + ] [project.optional-dependencies] diff --git a/docs/docs_src/getting_started/fastapi/my_fastagency_app/scripts/run_docker.sh b/docs/docs_src/getting_started/fastapi/my_fastagency_app/scripts/run_docker.sh index a92c3cbe..6933bf73 100755 --- a/docs/docs_src/getting_started/fastapi/my_fastagency_app/scripts/run_docker.sh +++ b/docs/docs_src/getting_started/fastapi/my_fastagency_app/scripts/run_docker.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run -d --name deploy_fastagency -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8008:8008 -p 8888:8888 deploy_fastagency +docker run -it -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8008:8008 -p 8888:8888 deploy_fastagency diff --git a/docs/docs_src/getting_started/mesop/folder_structure.txt b/docs/docs_src/getting_started/mesop/folder_structure.txt index e331f2e7..e37a31d3 100644 --- a/docs/docs_src/getting_started/mesop/folder_structure.txt +++ b/docs/docs_src/getting_started/mesop/folder_structure.txt @@ -1,8 +1,13 @@ my_fastagency_app +├── deployment +│   └── firebase +│   ├── allowed_users.yaml +│   └── firebase_config.yaml ├── docker -│   ├── Dockerfile -│   ├── nginx.conf.template -│   └── run_fastagency.sh +│   ├── content +│   │   ├── nginx.conf.template +│   │   └── run_fastagency.sh +│   └── Dockerfile ├── my_fastagency_app │   ├── deployment │   │   ├── __init__.py diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/.devcontainer/devcontainer.json b/docs/docs_src/getting_started/mesop/my_fastagency_app/.devcontainer/devcontainer.json index 7722c83c..78a0542a 100644 --- a/docs/docs_src/getting_started/mesop/my_fastagency_app/.devcontainer/devcontainer.json +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/.devcontainer/devcontainer.json @@ -14,7 +14,7 @@ }, "ANTHROPIC_API_KEY": { "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal." - }, + } }, "shutdownAction": "stopCompose", "workspaceFolder": "/workspaces/my_fastagency_app", diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/.gitignore b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/.gitignore new file mode 100644 index 00000000..89ccd39e --- /dev/null +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/.gitignore @@ -0,0 +1 @@ +serviceAccountKey.json diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/allowed_users.yaml b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/allowed_users.yaml new file mode 100644 index 00000000..c667f6bb --- /dev/null +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/allowed_users.yaml @@ -0,0 +1,3 @@ +# list all allowed users +- someone@somewhere.com +# - someone.else@somewhere.com diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/firebase_config.yaml b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/firebase_config.yaml new file mode 100644 index 00000000..8ea66ad9 --- /dev/null +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/deployment/firebase/firebase_config.yaml @@ -0,0 +1,8 @@ +# You can find the guide for getting the config values here: +# https://support.google.com/firebase/answer/7015592?hl=en#web&zippy=%2Cin-this-article +api_key: "" +auth_domain: "" +project_id: "" +storage_bucket: "" +messaging_sender_id: "" +app_id: "" diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/Dockerfile b/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/Dockerfile index 9a73c031..edce91fe 100644 --- a/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/Dockerfile +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/Dockerfile @@ -8,7 +8,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends nginx gettext \ COPY my_fastagency_app /app/my_fastagency_app -COPY pyproject.toml README.md docker/run_fastagency.sh docker/nginx.conf.template /app/ +COPY pyproject.toml README.md /app/ +COPY docker/content/* /app/ + RUN pip install --upgrade pip && pip install --no-cache-dir -e "." diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/nginx.conf.template b/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/content/nginx.conf.template similarity index 100% rename from docs/docs_src/getting_started/mesop/my_fastagency_app/docker/nginx.conf.template rename to docs/docs_src/getting_started/mesop/my_fastagency_app/docker/content/nginx.conf.template diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/run_fastagency.sh b/docs/docs_src/getting_started/mesop/my_fastagency_app/docker/content/run_fastagency.sh similarity index 100% rename from docs/docs_src/getting_started/mesop/my_fastagency_app/docker/run_fastagency.sh rename to docs/docs_src/getting_started/mesop/my_fastagency_app/docker/content/run_fastagency.sh diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/pyproject.toml b/docs/docs_src/getting_started/mesop/my_fastagency_app/pyproject.toml index b273485d..f80f72a8 100644 --- a/docs/docs_src/getting_started/mesop/my_fastagency_app/pyproject.toml +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/pyproject.toml @@ -9,6 +9,7 @@ name = "my_fastagency_app" dependencies = [ "fastagency[autogen,mesop,server]>=0.3.0", + ] [project.optional-dependencies] diff --git a/docs/docs_src/getting_started/mesop/my_fastagency_app/scripts/run_docker.sh b/docs/docs_src/getting_started/mesop/my_fastagency_app/scripts/run_docker.sh index 342703ee..1c9df5e0 100755 --- a/docs/docs_src/getting_started/mesop/my_fastagency_app/scripts/run_docker.sh +++ b/docs/docs_src/getting_started/mesop/my_fastagency_app/scripts/run_docker.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run -d --name deploy_fastagency -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8888:8888 deploy_fastagency +docker run -it -e OPENAI_API_KEY=$OPENAI_API_KEY -p 8888:8888 deploy_fastagency diff --git a/docs/docs_src/getting_started/nats_n_fastapi/folder_structure.txt b/docs/docs_src/getting_started/nats_n_fastapi/folder_structure.txt index 121ae2ef..2676d260 100644 --- a/docs/docs_src/getting_started/nats_n_fastapi/folder_structure.txt +++ b/docs/docs_src/getting_started/nats_n_fastapi/folder_structure.txt @@ -1,8 +1,13 @@ my_fastagency_app +├── deployment +│   └── firebase +│   ├── allowed_users.yaml +│   └── firebase_config.yaml ├── docker -│   ├── Dockerfile -│   ├── nginx.conf.template -│   └── run_fastagency.sh +│   ├── content +│   │   ├── nginx.conf.template +│   │   └── run_fastagency.sh +│   └── Dockerfile ├── my_fastagency_app │   ├── deployment │   │   ├── __init__.py diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/.devcontainer/devcontainer.json b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/.devcontainer/devcontainer.json index 9b114ca7..2731887f 100644 --- a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/.devcontainer/devcontainer.json +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/.devcontainer/devcontainer.json @@ -18,7 +18,7 @@ }, "ANTHROPIC_API_KEY": { "description": "This key is optional and only needed if you are working with Anthropic API-related code. Leave it blank if not required. You can always set it later as an environment variable in the codespace terminal." - }, + } }, "shutdownAction": "stopCompose", "workspaceFolder": "/workspaces/my_fastagency_app", diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/.gitignore b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/.gitignore new file mode 100644 index 00000000..89ccd39e --- /dev/null +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/.gitignore @@ -0,0 +1 @@ +serviceAccountKey.json diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml new file mode 100644 index 00000000..c667f6bb --- /dev/null +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/allowed_users.yaml @@ -0,0 +1,3 @@ +# list all allowed users +- someone@somewhere.com +# - someone.else@somewhere.com diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml new file mode 100644 index 00000000..8ea66ad9 --- /dev/null +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/deployment/firebase/firebase_config.yaml @@ -0,0 +1,8 @@ +# You can find the guide for getting the config values here: +# https://support.google.com/firebase/answer/7015592?hl=en#web&zippy=%2Cin-this-article +api_key: "" +auth_domain: "" +project_id: "" +storage_bucket: "" +messaging_sender_id: "" +app_id: "" diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/Dockerfile b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/Dockerfile index c2576869..068e4c1e 100644 --- a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/Dockerfile +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/Dockerfile @@ -8,7 +8,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends nginx gettext \ COPY my_fastagency_app /app/my_fastagency_app -COPY pyproject.toml README.md docker/run_fastagency.sh docker/nginx.conf.template /app/ +COPY pyproject.toml README.md /app/ +COPY docker/content/* /app/ + RUN pip install --upgrade pip && pip install --no-cache-dir -e "." diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/nginx.conf.template b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/content/nginx.conf.template similarity index 100% rename from docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/nginx.conf.template rename to docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/content/nginx.conf.template diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/run_fastagency.sh b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/content/run_fastagency.sh similarity index 100% rename from docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/run_fastagency.sh rename to docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/docker/content/run_fastagency.sh diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/my_fastagency_app/deployment/main_3_mesop.py b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/my_fastagency_app/deployment/main_3_mesop.py index dbd78715..2a4b6fb9 100644 --- a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/my_fastagency_app/deployment/main_3_mesop.py +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/my_fastagency_app/deployment/main_3_mesop.py @@ -7,6 +7,8 @@ provider = FastAPIAdapter.create_provider( fastapi_url=fastapi_url, ) +ui = MesopUI() + app = FastAgency( provider=provider, diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/pyproject.toml b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/pyproject.toml index 8f8ffc5c..5dc9bea9 100644 --- a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/pyproject.toml +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/pyproject.toml @@ -9,6 +9,7 @@ name = "my_fastagency_app" dependencies = [ "fastagency[autogen,mesop,server,fastapi,nats]>=0.3.0", + ] [project.optional-dependencies] diff --git a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/scripts/run_docker.sh b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/scripts/run_docker.sh index 984f4999..925d6f4a 100755 --- a/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/scripts/run_docker.sh +++ b/docs/docs_src/getting_started/nats_n_fastapi/my_fastagency_app/scripts/run_docker.sh @@ -1,3 +1,3 @@ #!/bin/bash -docker run -d --name deploy_fastagency -e OPENAI_API_KEY=$OPENAI_API_KEY -e NATS_URL=$NATS_URL -e FASTAGENCY_NATS_PASSWORD=$FASTAGENCY_NATS_PASSWORD -p 8000:8000 -p 8008:8008 -p 8888:8888 --network=host deploy_fastagency +docker run -it -e OPENAI_API_KEY=$OPENAI_API_KEY -e NATS_URL=$NATS_URL -e FASTAGENCY_NATS_PASSWORD=$FASTAGENCY_NATS_PASSWORD -p 8000:8000 -p 8008:8008 -p 8888:8888 --network=host deploy_fastagency diff --git a/pyproject.toml b/pyproject.toml index 1403f018..b86fc880 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,10 +97,10 @@ submodules = [ devdocs = [ "mkdocs==1.6.1", "mkdocs-autorefs==1.2.0", # mkdocs build fails if upgraded - "mkdocs-material==9.5.42", + "mkdocs-material==9.5.44", "mkdocs-static-i18n==1.2.3", "mdx-include==1.4.2", - "mkdocstrings[python]==0.26.2", + "mkdocstrings[python]==0.27.0", "mkdocs-literate-nav==0.6.1", "mkdocs-git-revision-date-localized-plugin==1.3.0", "mike==2.1.3", # versioning @@ -118,11 +118,11 @@ lint = [ "types-ujson", "types-Pygments", "types-docutils", - "mypy==1.12.1", + "mypy==1.13.0", "ruff==0.7.2", "pyupgrade-directories==0.3.0", "bandit==1.7.10", - "semgrep==1.95.0", + "semgrep==1.96.0", "codespell==2.3.0", "pytest-mypy-plugins==3.1.2", ]