fix: NEXT_PUBLIC_AUTH_MODES in docker-compose.yml (#2572)

This pull request fixes the value of NEXT_PUBLIC_AUTH_MODES in the
docker-compose.yml file. The previous value was incorrect and has been
updated to the correct value.
This commit is contained in:
Stan Girard 2024-05-10 10:25:29 +02:00 committed by GitHub
parent 466eee09e9
commit 9b4142d0ba
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -47,7 +47,7 @@ class ImageGenerationInput(BaseModelV1):
class ImageGeneratorTool(BaseTool):
name = "image-generator"
description = "useful for when you need to answer questions about current events"
description = "useful for when you need to generate an image from a prompt."
args_schema: Type[BaseModel] = ImageGenerationInput
return_direct = True
@ -63,7 +63,6 @@ class ImageGeneratorTool(BaseTool):
quality="standard",
n=1,
)
logger.info(response.data[0])
image_url = response.data[0].url
revised_prompt = response.data[0].revised_prompt
# Make the url a markdown image

View File

@ -14,6 +14,7 @@ services:
- NEXT_PUBLIC_SUPABASE_ANON_KEY=${NEXT_PUBLIC_SUPABASE_ANON_KEY}
- NEXT_PUBLIC_CMS_URL=${NEXT_PUBLIC_CMS_URL}
- NEXT_PUBLIC_FRONTEND_URL=${NEXT_PUBLIC_FRONTEND_URL}
- NEXT_PUBLIC_AUTH_MODES=${NEXT_PUBLIC_AUTH_MODES}
container_name: web
depends_on:
- backend-core