You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
KeyError: 'llmName' File "M:\SD\sdwebui\extensions\sd-webui-oldsix-prompt\scripts\old_six_prompt.py", line 172, in setTransServer transObj['llmName']=postData['llmName']
#51
Open
swumagic opened this issue
Apr 28, 2024
· 4 comments
*** API error: POST: http://127.0.0.1:7860/api/sixgod/setTransServer {'error': 'KeyError', 'detail': '', 'body': '', 'errors': "'llmName'"}
Traceback (most recent call last):
File "M:\SD\sdwebui\py310\lib\site-packages\anyio\streams\memory.py", line 94, in receive
return self.receive_nowait()
File "M:\SD\sdwebui\py310\lib\site-packages\anyio\streams\memory.py", line 89, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 78, in call_next
message = await recv_stream.receive()
File "M:\SD\sdwebui\py310\lib\site-packages\anyio\streams\memory.py", line 114, in receive
raise EndOfStream
anyio.EndOfStream
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "M:\SD\sdwebui\modules\api\api.py", line 186, in exception_handling
return await call_next(request)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 108, in __call__
response = await self.dispatch_func(request, call_next)
File "M:\SD\sdwebui\modules\api\api.py", line 150, in log_and_time
res: Response = await call_next(req)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 84, in call_next
raise app_exc
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\base.py", line 70, in coro
await self.app(scope, receive_or_disconnect, send_no_error)
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\cors.py", line 92, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\cors.py", line 147, in simple_response
await self.app(scope, receive, send)
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\gzip.py", line 24, in __call__
await responder(scope, receive, send)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\gzip.py", line 44, in __call__
await self.app(scope, receive, self.send_with_gzip)
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 256, in _sentry_exceptionmiddleware_call
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\exceptions.py", line 79, in __call__
raise exc
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\middleware\exceptions.py", line 68, in __call__
await self.app(scope, receive, sender)
File "<enhanced_experience vendors.sentry_sdk.integrations.starlette>", line 157, in _create_span_call
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 21, in __call__
raise e
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\middleware\asyncexitstack.py", line 18, in __call__
await self.app(scope, receive, send)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\routing.py", line 718, in __call__
await route.handle(scope, receive, send)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\routing.py", line 276, in handle
await self.app(scope, receive, send)
File "M:\SD\sdwebui\py310\lib\site-packages\starlette\routing.py", line 66, in app
response = await func(request)
File "<enhanced_experience vendors.sentry_sdk.integrations.fastapi>", line 136, in _sentry_app
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\routing.py", line 237, in app
raw_response = await run_endpoint_function(
File "M:\SD\sdwebui\py310\lib\site-packages\fastapi\routing.py", line 163, in run_endpoint_function
return await dependant.call(**values)
File "M:\SD\sdwebui\extensions\sd-webui-oldsix-prompt\scripts\old_six_prompt.py", line 172, in setTransServer
transObj['llmName']=postData['llmName']
KeyError: 'llmName'
Advanced elements visible: False
The text was updated successfully, but these errors were encountered:
*** API error: POST: http://127.0.0.1:7860/api/sixgod/setTransServer {'error': 'KeyError', 'detail': '', 'body': '', 'errors': "'llmName'"}
Traceback (most recent call last):
File "M:\SD\sdwebui\py310\lib\site-packages\anyio\streams\memory.py", line 94, in receive
return self.receive_nowait()
File "M:\SD\sdwebui\py310\lib\site-packages\anyio\streams\memory.py", line 89, in receive_nowait
raise WouldBlock
anyio.WouldBlock
Advanced elements visible: False
The text was updated successfully, but these errors were encountered: