From 81cb55895628d05e3154ecb9015581d6bebed980 Mon Sep 17 00:00:00 2001 From: "Jonathan C. McKinney" Date: Thu, 19 Sep 2024 11:31:37 -0700 Subject: [PATCH] Add link to docs for openai image generation --- openai_server/agent_tools/image_generation.py | 1 + src/version.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/openai_server/agent_tools/image_generation.py b/openai_server/agent_tools/image_generation.py index 2e128b195..c28368327 100644 --- a/openai_server/agent_tools/image_generation.py +++ b/openai_server/agent_tools/image_generation.py @@ -35,6 +35,7 @@ def main(): print(f"Warning: Model {args.model} not in available models {available_models}. Using default.") args.model = available_models[0] elif imagegen_url == "https://api.openai.com/v1": + # https://platform.openai.com/docs/api-reference/images/create available_models = ['dall-e-2', 'dall-e-3'] if args.model not in available_models: print(f"Warning: Model {args.model} not in available models {available_models}. Using default.") diff --git a/src/version.py b/src/version.py index 314575356..1e150a79f 100644 --- a/src/version.py +++ b/src/version.py @@ -1 +1 @@ -__version__ = "2e98139c2ae7c83d6b81a5259c50d9bcb87a1e6b" +__version__ = "5648aca5464dcd17e9d73bcedf1f42098dd52306"