Comments (2)
User's latest input: Hello, Mr. Bot.
agixt_1 |
agixt_1 | INFO: 172.19.0.1:39024 - "POST /api/agent/ooba/prompt HTTP/1.1" 500 Internal Server Error
agixt_1 | ERROR: Exception in ASGI application
agixt_1 | Traceback (most recent call last):
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 203, in _new_conn
agixt_1 | sock = connection.create_connection(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 85, in create_connection
agixt_1 | raise err
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/util/connection.py", line 73, in create_connection
agixt_1 | sock.connect(sa)
agixt_1 | ConnectionRefusedError: [Errno 111] Connection refused
agixt_1 |
agixt_1 | The above exception was the direct cause of the following exception:
agixt_1 |
agixt_1 | Traceback (most recent call last):
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 790, in urlopen
agixt_1 | response = self._make_request(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 496, in _make_request
agixt_1 | conn.request(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 395, in request
agixt_1 | self.endheaders()
agixt_1 | File "/usr/local/lib/python3.10/http/client.py", line 1278, in endheaders
agixt_1 | self._send_output(message_body, encode_chunked=encode_chunked)
agixt_1 | File "/usr/local/lib/python3.10/http/client.py", line 1038, in _send_output
agixt_1 | self.send(msg)
agixt_1 | File "/usr/local/lib/python3.10/http/client.py", line 976, in send
agixt_1 | self.connect()
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 243, in connect
agixt_1 | self.sock = self._new_conn()
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connection.py", line 218, in _new_conn
agixt_1 | raise NewConnectionError(
agixt_1 | urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f5c377ea2f0>: Failed to establish a new connection: [Errno 111] Connection refused
agixt_1 |
agixt_1 | The above exception was the direct cause of the following exception:
agixt_1 |
agixt_1 | Traceback (most recent call last):
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 486, in send
agixt_1 | resp = conn.urlopen(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/connectionpool.py", line 844, in urlopen
agixt_1 | retries = retries.increment(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/urllib3/util/retry.py", line 515, in increment
agixt_1 | raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
agixt_1 | urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='text-generation-webui', port=5000): Max retries exceeded with url: /api/v1/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5c377ea2f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
agixt_1 |
agixt_1 | During handling of the above exception, another exception occurred:
agixt_1 |
agixt_1 | Traceback (most recent call last):
agixt_1 | File "/agixt/Interactions.py", line 461, in run
agixt_1 | self.response = await self.agent.instruct(formatted_prompt, tokens=tokens)
agixt_1 | File "/agixt/fb/Agent.py", line 151, in instruct
agixt_1 | answer = await self.PROVIDER.instruct(prompt=prompt, tokens=tokens)
agixt_1 | File "/agixt/providers/oobabooga.py", line 110, in instruct
agixt_1 | response = requests.post(f"{self.AI_PROVIDER_URI}/api/v1/generate", json=params)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 115, in post
agixt_1 | return request("post", url, data=data, json=json, **kwargs)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 59, in request
agixt_1 | return session.request(method=method, url=url, **kwargs)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 589, in request
agixt_1 | resp = self.send(prep, **send_kwargs)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 703, in send
agixt_1 | r = adapter.send(request, **kwargs)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/requests/adapters.py", line 519, in send
agixt_1 | raise ConnectionError(e, request=request)
agixt_1 | requests.exceptions.ConnectionError: HTTPConnectionPool(host='text-generation-webui', port=5000): Max retries exceeded with url: /api/v1/generate (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5c377ea2f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
agixt_1 |
agixt_1 | During handling of the above exception, another exception occurred:
agixt_1 |
agixt_1 | Traceback (most recent call last):
agixt_1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/protocols/http/httptools_impl.py", line 426, in run_asgi
agixt_1 | result = await app( # type: ignore[func-returns-value]
agixt_1 | File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 84, in call
agixt_1 | return await self.app(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 292, in call
agixt_1 | await super().call(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
agixt_1 | await self.middleware_stack(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
agixt_1 | raise exc
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
agixt_1 | await self.app(scope, receive, _send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 91, in call
agixt_1 | await self.simple_response(scope, receive, send, request_headers=headers)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 146, in simple_response
agixt_1 | await self.app(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
agixt_1 | raise exc
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
agixt_1 | await self.app(scope, receive, sender)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 20, in call
agixt_1 | raise e
agixt_1 | File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 17, in call
agixt_1 | await self.app(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
agixt_1 | await route.handle(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
agixt_1 | await self.app(scope, receive, send)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
agixt_1 | response = await func(request)
agixt_1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 273, in app
agixt_1 | raw_response = await run_endpoint_function(
agixt_1 | File "/usr/local/lib/python3.10/site-packages/fastapi/routing.py", line 190, in run_endpoint_function
agixt_1 | return await dependant.call(**values)
agixt_1 | File "/agixt/endpoints/Agent.py", line 132, in prompt_agent
agixt_1 | response = await agent.run(
agixt_1 | File "/agixt/Interactions.py", line 465, in run
agixt_1 | for err in e:
agixt_1 | TypeError: 'ConnectionError' object is not iterable
from agixt.
bozo32 https://josh-xt.github.io/AGiXT/3-Providers/Kobold.html
from agixt.
Related Issues (20)
- Unprocessable Entity HOT 1
- ERROR [stage-1 6/7]
- Ngrok Tunnels to use with AGIXT HOT 1
- M4A Audio in base64 being passed to AGiXT not working and sees it as WAV HOT 1
- Implement command validation/helper to stop agents from running arbitrary commands HOT 1
- The code is not up to date and there are many errors after running it HOT 1
- Nvidia Provider Issue Json Decode Error
- Documentation HOT 4
- Add Some Parallelism to AGiXT HOT 3
- Add Gemini Vision to Google Provider HOT 1
- Add extensions for Microsoft and Google Email and Calendar HOT 1
- Wishlist. HOT 1
- My dockerhub account is broken HOT 1
- Add image to image to chat completions pipeline
- Log verbosity environment variable HOT 1
- Chain responses overwritten if same chain is nested HOT 1
- Ask the user if they want to execute the suggested chain of commands. HOT 1
- Create tests for new endpoints after Python SDK is updated.
- 3D Printing Extension
- Github extension FR get all repos HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agixt.