Added '/dalle' command that generates image using OpenAi's API and Dall-e 2 model. Abstracted a lot of implementation for generating images from user given prompt. Now commands dallemini and dalle are using as much shared code as is suitable. In addition extracted openai api related bot's cost state management and api usage permission check out of gpt-command to own module as now dalle-command is using them as well.
Added '/dalle' command that generates image using OpenAi's API and Dall-e 2 model. Abstracted a lot of implementation for generating images from user given prompt. Now commands dallemini and dalle are using as much shared code as is suitable. In addition extracted openai api related bot's cost state management and api usage permission check out of gpt-command to own module as now dalle-command is using them as well.