Define four-profile production matrix with Medium default
This commit is contained in:
@@ -8,12 +8,12 @@ Profilen um:
|
||||
Profil Kontext
|
||||
------ --------
|
||||
fast 76800
|
||||
medium 94208
|
||||
long 131072
|
||||
medium 160000
|
||||
large 192000
|
||||
ultra 262144
|
||||
|
||||
Virtuelle Modelle: qwen-fast, qwen-medium, qwen-long, qwen-ultra
|
||||
Kommandos: POST /fast, /medium, /long, /ultra (Profilwechsel)
|
||||
Virtuelle Modelle: qwen-fast, qwen-medium, qwen-large, qwen-ultra
|
||||
Kommandos: POST /fast, /medium, /large, /ultra (Profilwechsel)
|
||||
GET /status (Zustand)
|
||||
|
||||
Bildgenerierung (FLUX.2 [klein] 4B Base):
|
||||
@@ -1110,11 +1110,11 @@ class Handler(BaseHTTPRequestHandler):
|
||||
self._images_list()
|
||||
elif path.startswith("/images/") and self.command == "GET":
|
||||
self._image_serve(path[len("/images/"):])
|
||||
elif (path in ("/fast", "/medium", "/long", "/ultra")
|
||||
elif (path in ("/fast", "/medium", "/large", "/ultra")
|
||||
and (self.command == "POST"
|
||||
or (self.command == "GET" and ALLOW_LEGACY_GET_SWITCH))):
|
||||
self._switch(path[1:])
|
||||
elif (path in ("/fast", "/medium", "/long", "/ultra")
|
||||
elif (path in ("/fast", "/medium", "/large", "/ultra")
|
||||
and self.command == "GET"):
|
||||
self._send_error(405, "Profilwechsel erfordert POST",
|
||||
"invalid_request_error", "method_not_allowed")
|
||||
|
||||
Reference in New Issue
Block a user