Skip to content

Commit

Permalink
fix: NEXT_PUBLIC_AUTH_MODES in docker-compose.yml (#2572)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
StanGirard committed May 10, 2024
1 parent 466eee0 commit 9b4142d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions backend/modules/brain/integrations/GPT4/Brain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -63,7 +63,6 @@ def _run(
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
Expand Down
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9b4142d

Please sign in to comment.