-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arena #50
Open
jmikedupont2
wants to merge
57
commits into
main
Choose a base branch
from
arena
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Arena #50
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
now just need to add a job
still having python issues.
still having python issues.
this is the first step in being able to control the execution of the autogpt from outside. it calls to the mock api and that can influence the execution.
port 5000 is being exposed not 8080
This version is working with a new model |
error: Creating ai-ticket_babyagi_run ... Traceback (most recent call last): File "/app/babyagi.py", line 14, in <module> import chromadb File "/usr/local/lib/python3.11/site-packages/chromadb/__init__.py", line 1, in <module> import chromadb.config File "/usr/local/lib/python3.11/site-packages/chromadb/config.py", line 1, in <module> from pydantic import BaseSettings File "/usr/local/lib/python3.11/site-packages/pydantic/__init__.py", line 218, in __getattr__ return _getattr_migration(attr_name) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/site-packages/pydantic/_migration.py", line 294, in wrapper raise PydanticImportError( pydantic.errors.PydanticImportError: `BaseSettings` has been moved to the `pydantic-settings` package. See https://docs.pydantic.dev/2.4/migration/#basesettings-has-moved-to-pydantic-settings for more details. For further information visit https://errors.pydantic.dev/2.4/u/import-error ERROR: 1
sudo docker-compose run scott-gpt WARNING: Found orphan containers (ai-ticket_auto_honey_comber_1, ai-ticket_Auto-GPT-aj_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Creating ai-ticket_scott-gpt_run ... Path /benchmark for agbenchmark does not exist You do not have access to gpt-3.5-turbo-16k. Setting fast_llm to gpt-3.5-turbo. You do not have access to gpt-4-0314. Setting smart_llm to gpt-3.5-turbo. 2023-10-15 19:52:48,436 INFO Name : AutoGpt-Improvement-agent 2023-10-15 19:52:48,436 INFO Role : improve autogpt 2023-10-15 19:52:48,437 INFO Goals: ['improve independence from external apis', 'make multi platform'] 2023-10-15 19:52:48,437 INFO API Budget: $10.0 2023-10-15 19:52:48,437 INFO NOTE: All files/directories created by this agent can be found inside its workspace at: /app/auto_gpt_workspace 2023-10-15 19:52:48,437 INFO AutoGpt-Improvement-agent has been created with the following details: 2023-10-15 19:52:48,437 INFO Name : AutoGpt-Improvement-agent 2023-10-15 19:52:48,437 INFO Role : improve autogpt 2023-10-15 19:52:48,437 INFO Goals: 2023-10-15 19:52:48,437 INFO - improve independence from external apis 2023-10-15 19:52:48,437 INFO - make multi platform 2023-10-15 19:52:48,484 WARNING Could not load MemoryItems from file: Input is a zero-length, empty document: line 1 column 1 (char 0) 2023-10-15 19:52:48,501 INFO Configured Memory: JSONFileMemory 2023-10-15 19:52:48,501 INFO Configured Browser: chrome 2023-10-15 19:52:58,195 INFO message='OpenAI API response' path=http://mockopenai:5000/v1/chat/completions processing_ms=None request_id=None response_code=200 2023-10-15 19:52:58,229 INFO AUTOGPT-IMPROVEMENT-AGENT THOUGHTS: I encountered an issue with our application, and I need assistance. I've created a ticket for it. Here's the URL to the ticket: https://api.github.com/repos/jmikedupont2/ai-ticket/issues/comments/1763488431. My next action is to poll that URL for updates. 2023-10-15 19:52:58,229 INFO REASONING: todo 2023-10-15 19:52:58,229 INFO PLAN: 2023-10-15 19:52:58,230 INFO - Initiated a request for assistance. 2023-10-15 19:52:58,230 INFO CRITICISM: todo 2023-10-15 19:52:58,230 INFO SPEAK: Firstly, I will use the `web_search` command to research the best ways to improve AutoGPT's independence from external APIs. Then, I will use the `execute_python_code` command to implement the solutions to improve AutoGPT's independence from external APIs. Finally, I will use the `execute_python_code` command to create a multi-platform version of AutoGPT. My thoughts: To improve AutoGPT's independence from external APIs, I will research the best solutions and then implement them using the `execute_python_code` command. To create a multi-platform version of AutoGPT, I will also use the `execute_python_code` command. My plan: - Research best solutions for improving AutoGPT's independence from external APIs using the `web_search` command. - Implement solutions using the `execute_python_code` command. - Create a multi-platform version of AutoGPT using the `execute_python_code` command. My criticism: I should be more efficient in my use of the commands I have access to, and think of more creative ways to accomplish my goals. My summary: I will use the `web 2023-10-15 19:52:58,230 INFO NEXT ACTION: COMMAND = request_assistance ARGUMENTS = {'ticket_url': 'https://api.github.com/repos/jmikedupont2/ai-ticket/issues/comments/1763488431', 'next_action': 'poll_url'} 2023-10-15 19:52:58,230 INFO Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for AutoGpt-Improvement-agent... Input: WARNING: your terminal doesn't support cursor position requests (CPR). 2023-10-15 19:53:07,480 INFO You interrupted AutoGPT 2023-10-15 19:53:07,480 INFO Quitting... mdupont@mdupont-G470:~/experiments/ai-ticket$
sudo docker-compose run autogpt-trading WARNING: Found orphan containers (ai-ticket_Auto-GPT-aj_1, ai-ticket_auto_honey_comber_1) for this project. If you removed or renamed this service in your compose file, you can run this command with the --remove-orphans flag to clean it up. Creating ai-ticket_autogpt-trading_run ... Path /benchmark for agbenchmark does not exist plugins_config.yaml does not exist, creating base config. You do not have access to gpt-3.5-turbo-16k. Setting fast_llm to gpt-3.5-turbo. You do not have access to gpt-4-0314. Setting smart_llm to gpt-3.5-turbo. 2023-10-15 20:05:54,094 INFO Name : AutoGpt-Improvement-agent 2023-10-15 20:05:54,094 INFO Role : improve autogpt 2023-10-15 20:05:54,094 INFO Goals: ['improve independence from external apis', 'make multi platform'] 2023-10-15 20:05:54,094 INFO API Budget: $10.0 2023-10-15 20:05:54,094 INFO NOTE: All files/directories created by this agent can be found inside its workspace at: /app/auto_gpt_workspace 2023-10-15 20:05:54,094 INFO AutoGpt-Improvement-agent has been created with the following details: 2023-10-15 20:05:54,094 INFO Name : AutoGpt-Improvement-agent 2023-10-15 20:05:54,094 INFO Role : improve autogpt 2023-10-15 20:05:54,094 INFO Goals: 2023-10-15 20:05:54,094 INFO - improve independence from external apis 2023-10-15 20:05:54,094 INFO - make multi platform 2023-10-15 20:05:54,094 WARNING Could not load MemoryItems from file: Input is a zero-length, empty document: line 1 column 1 (char 0) 2023-10-15 20:05:54,126 INFO Configured Memory: JSONFileMemory 2023-10-15 20:05:54,126 INFO Configured Browser: chrome 2023-10-15 20:06:04,395 INFO message='OpenAI API response' path=http://mockopenai:5000/v1/chat/completions processing_ms=None request_id=None response_code=200 2023-10-15 20:06:04,401 INFO AUTOGPT-IMPROVEMENT-AGENT THOUGHTS: I encountered an issue with our application, and I need assistance. I've created a ticket for it. Here's the URL to the ticket: https://api.github.com/repos/jmikedupont2/ai-ticket/issues/comments/1763491468. My next action is to poll that URL for updates. 2023-10-15 20:06:04,401 INFO REASONING: todo 2023-10-15 20:06:04,401 INFO PLAN: 2023-10-15 20:06:04,401 INFO - Initiated a request for assistance. 2023-10-15 20:06:04,402 INFO CRITICISM: todo 2023-10-15 20:06:04,402 INFO SPEAK: First, we must improve independence from external APIs. We can do this by writing our own code in Python to interact with the APIs, or by utilizing open source code. We can use the command "execute_python_code" to write our own code, or "execute_python_file" to access and use open source Python files. Next, we must make AutoGPT multi-platform. To do this, we need to write code that will allow us to interact with different operating systems and devices. We can use the command "execute_python_code" to write our own code, or "execute_python_file" to access and use open source Python files. To summarize, our next command should be "execute_python_code" or "execute_python_file", depending on what code we need to write or utilize. { "thoughts": { "text": "I think we should use the command 'execute_python_code' or 'execute_python_file' depending on what code we need to write or utilize.", "reasoning": "This will allow us to write our own code to interact with APIs, and utilize open source code to interact with 2023-10-15 20:06:04,402 INFO NEXT ACTION: COMMAND = request_assistance ARGUMENTS = {'ticket_url': 'https://api.github.com/repos/jmikedupont2/ai-ticket/issues/comments/1763491468', 'next_action': 'poll_url'} 2023-10-15 20:06:04,402 INFO Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for AutoGpt-Improvement-agent... Input: WARNING: your terminal doesn't support cursor position requests (CPR). 2023-10-15 20:06:30,651 INFO You interrupted AutoGPT 2023-10-15 20:06:30,651 INFO Quitting... mdupont@mdupont-G470:~/experiments/ai-ticket$
the_agency_1_1 | IsADirectoryError: [Errno 21] Is a directory: '/tmp/ai_settings.yaml' this is popping up and has to do with docker. still looking into it. my workaround is to move it to another location
now you can run : ` sudo docker-compose up -d mockopenai ghostcoder ` ` sudo docker-compose logs -f mockopenai ghostcoder &` ` sudo docker-compose run arena`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.