(feat): add image generation from openai

This commit is contained in:
2026-02-12 18:21:29 +03:00
parent 8dbd9a456a
commit 2c7824ebc8
3 changed files with 124 additions and 0 deletions
+2
View File
@@ -79,6 +79,7 @@ import {OpenAIListModels} from "./commands/openai-list-models";
import {OpenAIGetModel} from "./commands/openai-get-model";
import {OpenAISetModel} from "./commands/openai-set-model";
import {Info} from "./commands/info";
import {OpenAIGenImage} from "./commands/openai-gen-image";
process.setUncaughtExceptionCaptureCallback(logError);
@@ -210,6 +211,7 @@ if (Environment.OPENAI_API_KEY) {
new OpenAIListModels(),
new OpenAIGetModel(),
new OpenAISetModel(),
new OpenAIGenImage()
);
}