refactor: Improve model status handling and structured output (#20586)
Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
parent
92614765ff
commit
5ccfb1f4ba
9 changed files with 450 additions and 344 deletions
|
|
@ -14,11 +14,3 @@ class SpecialModelType(StrEnum):
|
|||
|
||||
GEMINI = "gemini"
|
||||
OLLAMA = "ollama"
|
||||
|
||||
|
||||
class SupportStructuredOutputStatus(StrEnum):
|
||||
"""Constants for structured output support status"""
|
||||
|
||||
SUPPORTED = "supported"
|
||||
UNSUPPORTED = "unsupported"
|
||||
DISABLED = "disabled"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue