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
raise mapped_exc(message) from exc
httpx.UnsupportedProtocol: Request URL is missing an 'http://' or 'https://' protocol.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/uvicorn/protocols/http/h11_impl.py", line 406, in run_asgi
result = await app( # type: ignore[func-returns-value]
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/fastapi/applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/errors.py", line 187, in __call__
raise exc
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/errors.py", line 165, in __call__
await self.app(scope, receive, _send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/cors.py", line 93, in __call__
await self.simple_response(scope, receive, send, request_headers=headers)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/cors.py", line 144, in simple_response
await self.app(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/sessions.py", line 85, in __call__
await self.app(scope, receive, send_wrapper)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app
raise exc
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/routing.py", line 715, in __call__
await self.middleware_stack(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/routing.py", line 735, in app
await route.handle(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/routing.py", line 288, in handle
await self.app(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/routing.py", line 76, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/_exception_handler.py", line 62, in wrapped_app
raise exc
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/_exception_handler.py", line 51, in wrapped_app
await app(scope, receive, sender)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/starlette/routing.py", line 73, in app
response = await f(request)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/fastapi/routing.py", line 301, in app
raw_response = await run_endpoint_function(
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
return await dependant.call(**values)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/openui/server.py", line 196, in chat_completions
] = await ollama_openai.chat.completions.create(
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/openai/resources/chat/completions.py", line 1490, in create
return await self._post(
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/openai/_base_client.py", line 1838, in post
return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/openai/_base_client.py", line 1532, in request
return await self._request(
File "/Users/jeffhaskin/pinokio/api/openui.git/app/backend/env/lib/python3.10/site-packages/openai/_base_client.py", line 1605, in _request
raise APIConnectionError(request=request) from err
openai.APIConnectionError: Connection error.
MacOS 14
M2 Macbook
Using pre-existing ollama installation
The text was updated successfully, but these errors were encountered:
MacOS 14
M2 Macbook
Using pre-existing ollama installation
The text was updated successfully, but these errors were encountered: