mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-12-14 17:03:29 +03:00
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:
parent
466eee09e9
commit
9b4142d0ba
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user