Jonah Whaler

Results 13 comments of Jonah Whaler

Did you ever modify files below: 1. /config/chat_modes.yml 2. /config/models.yml

@aadarshkumar12347 , please consider to rename /config/config.example.yml as /config/config.yml FYI, you are exposing your API key here.

> I changed the configuration file to DALL-E 3, but the final drawing API still calls DALL-E 2, which is strange. @mithew Can you please let us know your `openai`...

> ``` > async def generate_images(prompt, n_images=1, size="1024x1024"): > r = await openai.Image.acreate(model="dall-e-3", prompt=prompt, n=n_images, size=size) > image_urls = [item.url for item in r.data] > return image_urls > ``` >...

> > ``` > > async def generate_images(prompt, n_images=1, size="1024x1024"): > > r = await openai.Image.acreate(model="dall-e-3", prompt=prompt, n=n_images, size=size) > > image_urls = [item.url for item in r.data] > >...

> openai>=0.27.0 install new version of openai, so openai.error doesn't exists. Maybe it is better to specify a certain version of openai? so far `0.28.1` works for me

> Is it possible to review the data accumulated in the DB? @JonahTzuChi Yes.

> > > Is it possible to review the data accumulated in the DB? @JonahTzuChi > > > > > > Yes. > > Mind showing me how? It's technically...

I also encounter the same error when using model `deepseek-chat`. ### Python Dependency: `openai==1.58.0`