Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
MIT License
165.94k stars 43.96k forks source link

Error when trying to run AutoGPT once pointed at Local AI instance on localhost #7161

Closed marc-2019 closed 1 month ago

marc-2019 commented 3 months ago

⚠️ Search for existing issues first ⚠️

Which Operating System are you using?

Windows - Docker

Which version of AutoGPT are you using?

Latest Release

Do you use OpenAI GPT-3 or GPT-4?

GPT-4

Which area covers your issue best?

Agents

Describe your issue.

I am trying to run autoGPT pointed at a local instance of LocalAI and am not able to sent the request to the LLM even though the initial connection seems to work as per discussions on discord.

PS D:\alex\Auto-GPT\autogpts\autogpt> poetry run python -m autogpt serve 2024-05-22 07:00:40,333 INFO HTTP Request: GET http://localhost:38080/v1/models "HTTP/1.1 200 OK" 2024-05-22 07:00:40,337 WARNING You don't have access to gpt-3.5-turbo. Setting fast_llm to OpenAIModelName.GPT3_ROLLING. 2024-05-22 07:00:40,606 INFO HTTP Request: GET http://localhost:38080/v1/models "HTTP/1.1 200 OK" 2024-05-22 07:00:40,610 WARNING You don't have access to gpt-4-turbo. Setting smart_llm to OpenAIModelName.GPT3_ROLLING. 2024-05-22 07:00:40,897 INFO AutoGPT server starting on http://localhost:8000/ 2024-05-22 07:01:42,596 INFO HTTP Request: POST http://localhost:38080/v1/chat/completions "HTTP/1.1 500 Internal Server Error" 2024-05-22 07:02:04,330 INFO HTTP Request: POST http://localhost:38080/v1/chat/completions "HTTP/1.1 500 Internal Server Error" 2024-05-22 07:02:26,286 INFO HTTP Request: POST http://localhost:38080/v1/chat/completions "HTTP/1.1 500 Internal Server Error" [2024-05-22 07:02:26,289] [forge.sdk.routes.agent_protocol] [ERROR] Error whilst trying to create a task: input='hi' additional_input=None Traceback (most recent call last): File "D:\Alex\Auto-GPT\autogpts\forge\forge\sdk\routes\agent_protocol.py", line 99, in create_agent_task task_request = await agent.create_task(task_request)

Upload Activity Log Content

No response

Upload Error Log Content

No response

github-actions[bot] commented 1 month ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

github-actions[bot] commented 1 month ago

This issue was closed automatically because it has been stale for 10 days with no activity.