mirror of
https://github.com/memohai/Memoh.git
synced 2026-04-27 07:16:19 +09:00
feat(models): add image model type support
Add a dedicated image model type so bots can use image API models without overloading chat model capabilities, while keeping existing chat-based image generation selectable.
This commit is contained in:
+3
-1
@@ -2261,11 +2261,13 @@ definitions:
|
||||
enum:
|
||||
- chat
|
||||
- embedding
|
||||
- image
|
||||
- speech
|
||||
type: string
|
||||
x-enum-varnames:
|
||||
- ModelTypeChat
|
||||
- ModelTypeEmbedding
|
||||
- ModelTypeImage
|
||||
- ModelTypeSpeech
|
||||
models.TestResponse:
|
||||
properties:
|
||||
@@ -7231,7 +7233,7 @@ paths:
|
||||
description: Get a list of all configured models, optionally filtered by type
|
||||
or provider client type
|
||||
parameters:
|
||||
- description: Model type (chat, embedding)
|
||||
- description: Model type (chat, embedding, image, speech)
|
||||
in: query
|
||||
name: type
|
||||
type: string
|
||||
|
||||
Reference in New Issue
Block a user