Comments (4)
Let me know if it is still an issue. I forgot to add it to the config file apparently.
from agixt.
alrighty, I will try now! Thank you in advance lol
from agixt.
ok, after submitting an objective, nothing in particular happened, just three lines saying "response:"
I then tried running an instruciton, and got the following error message (this is running llamacpp by the way, I will test oobabooga now)
(venv) C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM>python main.py
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM
- Serving Flask app 'app'
- Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - Running on http://127.0.0.1:5000
Press CTRL+C to quit - Restarting with stat
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM - Debugger is active!
- Debugger PIN: 737-166-586
127.0.0.1 - - [18/Apr/2023 19:12:33] "GET /api/docs/ HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:12:33] "GET /api/docs/ HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:12:33] "GET /api/get_agents HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:12:34] "GET /api/get_commands HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:13:06] "OPTIONS /api/set_objective HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:13:06] "POST /api/set_objective HTTP/1.1" 200 -
Response:
Response:
Response:
TASK LIST
127.0.0.1 - - [18/Apr/2023 19:13:06] "GET /api/execute_next_task HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:14:19] "OPTIONS /api/instruct HTTP/1.1" 200 -
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM
127.0.0.1 - - [18/Apr/2023 19:14:20] "POST /api/instruct HTTP/1.1" 500 -
Traceback (most recent call last):
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2551, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 467, in wrapper
resp = resource(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 582, in dispatch_request
resp = meth(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\app.py", line 87, in post
agent.CFG.AI_PROVIDER = data["ai_provider"]
KeyError: 'ai_provider'
from agixt.
After entering an objective while using oobabooga as provider, I got this error:
(venv) C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM>python main.py
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM
- Serving Flask app 'app'
- Debug mode: on
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead. - Running on http://127.0.0.1:5000
Press CTRL+C to quit - Restarting with stat
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM - Debugger is active!
- Debugger PIN: 737-166-586
127.0.0.1 - - [18/Apr/2023 19:22:02] "GET /api/docs/ HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:22:02] "GET /api/docs/ HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:22:02] "GET /api/get_agents HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:22:03] "GET /api/get_commands HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:22:29] "OPTIONS /api/set_objective HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:22:29] "POST /api/set_objective HTTP/1.1" 200 -
127.0.0.1 - - [18/Apr/2023 19:23:29] "GET /api/execute_next_task HTTP/1.1" 500 -
Traceback (most recent call last):
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\requests\models.py", line 971, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\Mike's PC\AppData\Local\Programs\Python\Python310\lib\json_init_.py", line 346, in loads
return _default_decoder.decode(s)
File "C:\Users\Mike's PC\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\Mike's PC\AppData\Local\Programs\Python\Python310\lib\json\decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2551, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 467, in wrapper
resp = resource(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 582, in dispatch_request
resp = meth(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\app.py", line 105, in get
task = babyagi_instance.execute_next_task()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\babyagi.py", line 135, in execute_next_task
self.response = self.execution_agent(self.primary_objective, task["task_name"])
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\babyagi.py", line 112, in execution_agent
self.response = self.prompter.run(prompt)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\AgentLLM.py", line 61, in run
self.response = self.instruct(f"{commands_prompt}\n{prompt}")
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\provider\oobabooga.py", line 20, in instruct
return response.json()['data'][0].replace("\n", "\n")
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\requests\models.py", line 975, in json
raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
After sending an instruction command with oobabooga as provider, I got this error (same as llamacpp):
Using embedded DuckDB with persistence: data will be stored in: memories/Agent-LLM
127.0.0.1 - - [18/Apr/2023 19:28:10] "POST /api/instruct HTTP/1.1" 500 -
Traceback (most recent call last):
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2551, in call
return self.wsgi_app(environ, start_response)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2531, in wsgi_app
response = self.handle_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 2528, in wsgi_app
response = self.full_dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1825, in full_dispatch_request
rv = self.handle_user_exception(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 271, in error_router
return original_handler(e)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_cors\extension.py", line 165, in wrapped_function
return cors_after_request(app.make_response(f(*args, **kwargs)))
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1823, in full_dispatch_request
rv = self.dispatch_request()
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\app.py", line 1799, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 467, in wrapper
resp = resource(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask\views.py", line 107, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\venv\lib\site-packages\flask_restful_init_.py", line 582, in dispatch_request
resp = meth(*args, **kwargs)
File "C:\Users\Mike's PC\Documents\transfer_to_external_storage\Agent_LLM\Agent-LLM\app.py", line 87, in post
agent.CFG.AI_PROVIDER = data["ai_provider"]
KeyError: 'ai_provider'
from agixt.
Related Issues (20)
- It is impossible to use the interface from a browser on another machine. HOT 3
- 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
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.