Josh-XT / AGiXT

AGiXT is a dynamic AI Agent Automation Platform that seamlessly orchestrates instruction management and complex task execution across diverse AI providers. Combining adaptive memory, smart features, and a versatile plugin system, AGiXT delivers efficient and comprehensive AI solutions.
https://AGiXT.com
MIT License
2.6k stars 346 forks source link

new Docker-compose deployment fails again #918

Closed m4t7 closed 1 year ago

m4t7 commented 1 year ago

Description

Good day Josh, I know you are very busy and can not fix everything, but I'm trying to deploy the Docker Compose method for weeks and it still does not.

There is still a missing / wrong provider, again GPT4all, but this time the GPU variant, can you have a look?

Since a previous commit AGiXT overwrites the configured hub variable with AGiXT/Hub, I'm not able to test if my possible fix would help. I assume again that "nomic" is not correct, because the same python package is imported as before (my old problem #856).

agixt-agixt-1      |   File "/agixt/providers/gpugpt4all.py", line 8, in <module>
agixt-agixt-1      |     from nomic.gpt4all import GPT4AllGPU as GPT4All
agixt-agixt-1      | ModuleNotFoundError: No module named 'nomic.gpt4all'

The docker container agixt-agixt-1 does not finish the deployment. Therefore I need to force the container to stop (Strg+C). After a new start with the AGiXT.sh script, I wait till the streamlit app is fully loaded and I'm presented with a new error after I create a new agent. I assume because of unfinished provider installation.

image

If you need more infos let me know.

Steps to Reproduce the Bug

Start with a fresh installation.

Expected Behavior

working application, with working Agent Providers.

Operating System

Python Version

Environment Type - Connection

Runtime environment

Acknowledgements

Josh-XT commented 1 year ago

It appears you have some old files, that issue was resolved in a previous version.

m4t7 commented 1 year ago

Unfortunately this is not the case. I removed everything again for you, here a full log :)

sudo rm -rf AGiXT/ 
git clone https://github.com/Josh-XT/AGiXT
cd AGiXT/
./AGiXT.sh 

(was unable to capture variable screen  If needed I can provide new .env file)

    ___   _______ _  ________
   /   | / ____(_) |/ /_  __/
  / /| |/ / __/ /|   / / /   
 / ___ / /_/ / //   | / /    
/_/  |_\____/_//_/|_|/_/     

----------------------------------------------------
Visit our documentation at https://AGiXT.com 
Welcome to the AGiXT Installer!
Please choose an option:
  1. Run AGiXT with Docker (Recommended)
  2. Run AGiXT Locally (Developers Only - Not Recommended or Supported) 
  3. Run AGiXT and Text generation web UI with Docker (NVIDIA Only)
  4. Update AGiXT 
  5. Wipe AGiXT Hub (Irreversible)
  6. Exit

Enter your choice: 1
Cloning Streamlit Repository...
Cloning into 'streamlit'...
remote: Enumerating objects: 410, done.
remote: Counting objects: 100% (27/27), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 410 (delta 12), reused 17 (delta 6), pack-reused 383
Receiving objects: 100% (410/410), 68.90 KiB | 1.21 MiB/s, done.
Resolving deltas: 100% (257/257), done.
Running Docker install...
Starting Docker Compose...
[+] Running 3/3
 ✔ Container agixt-db-1         Created                                                                                                                                      0.0s 
 ✔ Container agixt-agixt-1      Recreated                                                                                                                                    1.2s 
 ✔ Container agixt-streamlit-1  Recreated                                                                                                                                    0.5s 
Attaching to agixt-agixt-1, agixt-db-1, agixt-streamlit-1
agixt-db-1         | The files belonging to this database system will be owned by user "postgres".
agixt-db-1         | This user must also own the server process.
agixt-db-1         | 
agixt-db-1         | 
agixt-db-1         | The database cluster will be initialized with locale "en_US.utf8".
agixt-db-1         | The default database encoding has accordingly been set to "UTF8".
agixt-db-1         | The default text search configuration will be set to "english".
agixt-db-1         | 
agixt-db-1         | Data page checksums are disabled.
agixt-db-1         | 
agixt-db-1         | fixing permissions on existing directory /var/lib/postgresql/data ... ok
agixt-db-1         | 
agixt-db-1         | creating subdirectories ... 
agixt-db-1         | ok
agixt-db-1         | selecting dynamic shared memory implementation ... 
agixt-db-1         | posix
agixt-db-1         | selecting default max_connections ... 
agixt-db-1         | 100
agixt-db-1         | selecting default shared_buffers ... 
agixt-db-1         | 128MB
agixt-db-1         | selecting default time zone ... 
agixt-db-1         | Etc/UTC
agixt-db-1         | creating configuration files ... 
agixt-db-1         | ok
agixt-db-1         | running bootstrap script ... 
agixt-db-1         | ok
agixt-db-1         | performing post-bootstrap initialization ... 
agixt-db-1         | ok
agixt-db-1         | syncing data to disk ... 
agixt-agixt-1      | Loading environment variables from .env file in parent directory...
agixt-agixt-1      | Waiting for postgres server to start... db:5432
agixt-db-1         | ok
agixt-db-1         | 
agixt-db-1         | 
agixt-db-1         | Success. You can now start the database server using:
agixt-db-1         | 
agixt-db-1         |     pg_ctl -D /var/lib/postgresql/data -l logfile start
agixt-db-1         | 
agixt-db-1         | 
agixt-db-1         | initdb: warning: enabling "trust" authentication for local connections
agixt-db-1         | initdb: hint: You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb.
agixt-db-1         | waiting for server to start....
agixt-db-1         | 2023-08-14 18:01:44.625 UTC [49] LOG:  starting PostgreSQL 15.4 (Debian 15.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
agixt-db-1         | 2023-08-14 18:01:44.634 UTC [49] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
agixt-db-1         | 2023-08-14 18:01:44.664 UTC [52] LOG:  database system was shut down at 2023-08-14 18:01:35 UTC
agixt-db-1         | 2023-08-14 18:01:44.677 UTC [49] LOG:  database system is ready to accept connections
agixt-db-1         |  done
agixt-db-1         | server started
agixt-db-1         | 
agixt-db-1         | /usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/*
agixt-db-1         | 
agixt-db-1         | 
agixt-db-1         | 2023-08-14 18:01:44.732 UTC [49] LOG:  received fast shutdown request
agixt-db-1         | waiting for server to shut down....
agixt-db-1         | 2023-08-14 18:01:44.741 UTC [49] LOG:  aborting any active transactions
agixt-db-1         | 2023-08-14 18:01:44.742 UTC [49] LOG:  background worker "logical replication launcher" (PID 55) exited with exit code 1
agixt-db-1         | 2023-08-14 18:01:44.743 UTC [50] LOG:  shutting down
agixt-db-1         | 2023-08-14 18:01:44.751 UTC [50] LOG:  checkpoint starting: shutdown immediate
agixt-db-1         | 2023-08-14 18:01:44.818 UTC [50] LOG:  checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.001 s, sync=0.019 s, total=0.075 s; sync files=2, longest=0.010 s, average=0.010 s; distance=0 kB, estimate=0 kB
agixt-db-1         | 2023-08-14 18:01:44.822 UTC [49] LOG:  database system is shut down
agixt-db-1         |  done
agixt-db-1         | server stopped
agixt-db-1         | 
agixt-db-1         | PostgreSQL init process complete; ready for start up.
agixt-db-1         | 
agixt-db-1         | 
agixt-db-1         | 2023-08-14 18:01:44.868 UTC [1] LOG:  starting PostgreSQL 15.4 (Debian 15.4-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
agixt-db-1         | 2023-08-14 18:01:44.868 UTC [1] LOG:  listening on IPv4 address "0.0.0.0", port 5432
agixt-db-1         | 2023-08-14 18:01:44.868 UTC [1] LOG:  listening on IPv6 address "::", port 5432
agixt-db-1         | 2023-08-14 18:01:44.886 UTC [1] LOG:  listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
agixt-db-1         | 2023-08-14 18:01:44.906 UTC [63] LOG:  database system was shut down at 2023-08-14 18:01:44 UTC
agixt-db-1         | 2023-08-14 18:01:44.918 UTC [1] LOG:  database system is ready to accept connections
agixt-streamlit-1  | 
agixt-streamlit-1  |   You can now view your Streamlit app in your browser.
agixt-streamlit-1  | 
agixt-streamlit-1  |   Network URL: http://10.10.6.4:8501
agixt-streamlit-1  | 
agixt-streamlit-1  | 
agixt-streamlit-1  | 
agixt-streamlit-1  | 2023-08-14 18:01:52.932 Did not auto detect external IP.
agixt-streamlit-1  | Please go to https://docs.streamlit.io/ for debugging hints.
agixt-agixt-1      | Updating AGiXT Hub from AGiXT/hub
agixt-agixt-1      | Updated AGiXT Hub from AGiXT/hub
agixt-agixt-1      | DB Connected: True
agixt-streamlit-1  | 2023-08-14 18:02:33.540 Uncaught app exception
agixt-streamlit-1  | Traceback (most recent call last):
agixt-streamlit-1  |   File "/usr/local/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 552, in _run_script
agixt-streamlit-1  |     exec(code, module.__dict__)
agixt-streamlit-1  |   File "/app/pages/2-Agent_Management.py", line 103, in <module>
agixt-streamlit-1  |     agent_name = agent_selection()
agixt-streamlit-1  |   File "/app/components/selectors.py", line 308, in agent_selection
agixt-streamlit-1  |     agent_names = [agent["name"] for agent in ApiClient.get_agents()]
agixt-streamlit-1  |   File "/app/components/selectors.py", line 308, in <listcomp>
agixt-streamlit-1  |     agent_names = [agent["name"] for agent in ApiClient.get_agents()]
agixt-streamlit-1  | TypeError: string indices must be integers
agixt-agixt-1      | Adding command: Create Task Chain
agixt-agixt-1      | Adding argument: agent to command: Create Task Chain
agixt-agixt-1      | Adding argument: primary_objective to command: Create Task Chain
agixt-agixt-1      | Adding argument: numbered_list_of_tasks to command: Create Task Chain
agixt-agixt-1      | Adding argument: short_chain_description to command: Create Task Chain
agixt-agixt-1      | Adding argument: smart_chain to command: Create Task Chain
agixt-agixt-1      | Adding argument: researching to command: Create Task Chain
agixt-agixt-1      | Adding command: Generate Extension from OpenAPI
agixt-agixt-1      | Adding argument: agent to command: Generate Extension from OpenAPI
agixt-agixt-1      | Adding argument: extension_name to command: Generate Extension from OpenAPI
agixt-agixt-1      | Adding argument: openapi_json_url to command: Generate Extension from OpenAPI
agixt-agixt-1      | Adding command: Generate Agent Helper Chain
agixt-agixt-1      | Adding argument: user_agent to command: Generate Agent Helper Chain
agixt-agixt-1      | Adding argument: helper_agent to command: Generate Agent Helper Chain
agixt-agixt-1      | Adding argument: task_in_question to command: Generate Agent Helper Chain
agixt-agixt-1      | Adding command: Ask for Help or Further Clarification to Complete Task
agixt-agixt-1      | Adding argument: your_agent_name to command: Ask for Help or Further Clarification to Complete Task
agixt-agixt-1      | Adding argument: your_task to command: Ask for Help or Further Clarification to Complete Task
agixt-agixt-1      | Adding command: Create a new command
agixt-agixt-1      | Adding argument: function_description to command: Create a new command
agixt-agixt-1      | Adding argument: agent to command: Create a new command
agixt-agixt-1      | Adding command: Execute Python Code
agixt-agixt-1      | Adding argument: code to command: Execute Python Code
agixt-agixt-1      | Adding command: Get Python Code from Response
agixt-agixt-1      | Adding argument: response to command: Get Python Code from Response
agixt-agixt-1      | Adding command: Get Mindmap for task to break it down
agixt-agixt-1      | Adding argument: task to command: Get Mindmap for task to break it down
agixt-agixt-1      | Adding argument: agent to command: Get Mindmap for task to break it down
agixt-agixt-1      | Adding command: Speak with TTS with BrianTTS
agixt-agixt-1      | Adding argument: text to command: Speak with TTS with BrianTTS
agixt-agixt-1      | Adding command: Speak with TTS Using Elevenlabs
agixt-agixt-1      | Adding argument: text to command: Speak with TTS Using Elevenlabs
agixt-agixt-1      | Adding argument: voice_index to command: Speak with TTS Using Elevenlabs
agixt-agixt-1      | Adding command: Write to File
agixt-agixt-1      | Adding argument: filename to command: Write to File
agixt-agixt-1      | Adding argument: text to command: Write to File
agixt-agixt-1      | Adding command: Read File
agixt-agixt-1      | Adding argument: filename to command: Read File
agixt-agixt-1      | Adding command: Search Files
agixt-agixt-1      | Adding argument: directory to command: Search Files
agixt-agixt-1      | Adding command: Append to File
agixt-agixt-1      | Adding argument: filename to command: Append to File
agixt-agixt-1      | Adding argument: text to command: Append to File
agixt-agixt-1      | Adding command: Execute Python File
agixt-agixt-1      | Adding argument: file to command: Execute Python File
agixt-agixt-1      | Adding command: Delete File
agixt-agixt-1      | Adding argument: filename to command: Delete File
agixt-agixt-1      | Adding command: Execute Shell
agixt-agixt-1      | Adding argument: command_line to command: Execute Shell
agixt-agixt-1      | Adding command: Indent String for Python Code
agixt-agixt-1      | Adding argument: string to command: Indent String for Python Code
agixt-agixt-1      | Adding argument: indents to command: Indent String for Python Code
agixt-agixt-1      | Adding command: Generate Commands Dictionary
agixt-agixt-1      | Adding argument: python_file_content to command: Generate Commands Dictionary
agixt-agixt-1      | Adding command: Clone Github Repository
agixt-agixt-1      | Adding argument: repo_url to command: Clone Github Repository
agixt-agixt-1      | Adding command: Read Audio from File
agixt-agixt-1      | Adding argument: audio_path to command: Read Audio from File
agixt-agixt-1      | Adding command: Read Audio
agixt-agixt-1      | Adding argument: audio to command: Read Audio
agixt-agixt-1      | Adding command: Generate Image with Stable Diffusion
agixt-agixt-1      | Adding argument: prompt to command: Generate Image with Stable Diffusion
agixt-agixt-1      | Adding argument: filename to command: Generate Image with Stable Diffusion
agixt-agixt-1      | Adding command: Speak with MacOS TTS
agixt-agixt-1      | Adding argument: text to command: Speak with MacOS TTS
agixt-agixt-1      | Adding argument: voice_index to command: Speak with MacOS TTS
agixt-agixt-1      | Adding command: Use The Search Engine
agixt-agixt-1      | Adding argument: query to command: Use The Search Engine
agixt-agixt-1      | Adding command: Get Datetime
agixt-agixt-1      | Adding command: Scrape Text with Playwright
agixt-agixt-1      | Adding argument: url to command: Scrape Text with Playwright
agixt-agixt-1      | Adding command: Scrape Links with Playwright
agixt-agixt-1      | Adding argument: url to command: Scrape Links with Playwright
agixt-agixt-1      | Adding extension: briantts
agixt-agixt-1      | Adding extension: dalle
agixt-agixt-1      | Adding extension: discord
agixt-agixt-1      | Adding extension: elevenlabs
agixt-agixt-1      | Adding extension: file_system
agixt-agixt-1      | Adding extension: github
agixt-agixt-1      | Adding extension: google
agixt-agixt-1      | Adding extension: gtts
agixt-agixt-1      | Adding extension: huggingface
agixt-agixt-1      | Adding extension: macostts
agixt-agixt-1      | Adding extension: microsoft_365
agixt-agixt-1      | Adding extension: searxng
agixt-agixt-1      | Adding extension: sendgrid_email
agixt-agixt-1      | Adding extension: twitter
agixt-agixt-1      | Adding setting: USE_BRIAN_TTS for extension: briantts
agixt-agixt-1      | Adding setting: HUGGINGFACE_API_KEY for extension: dalle
agixt-agixt-1      | Adding setting: OPENAI_API_KEY for extension: dalle
agixt-agixt-1      | Adding setting: WORKING_DIRECTORY for extension: dalle
agixt-agixt-1      | Adding setting: DISCORD_API_KEY for extension: discord
agixt-agixt-1      | Adding setting: DISCORD_COMMAND_PREFIX for extension: discord
agixt-agixt-1      | Adding setting: ELEVENLABS_API_KEY for extension: elevenlabs
agixt-agixt-1      | Adding setting: ELEVENLABS_VOICE for extension: elevenlabs
agixt-agixt-1      | Adding setting: WORKING_DIRECTORY for extension: file_system
agixt-agixt-1      | Adding setting: WORKING_DIRECTORY_RESTRICTED for extension: file_system
agixt-agixt-1      | Adding setting: GITHUB_USERNAME for extension: github
agixt-agixt-1      | Adding setting: GITHUB_API_KEY for extension: github
agixt-agixt-1      | Adding setting: WORKING_DIRECTORY for extension: github
agixt-agixt-1      | Adding setting: GOOGLE_API_KEY for extension: google
agixt-agixt-1      | Adding setting: USE_GTTS for extension: gtts
agixt-agixt-1      | Adding setting: HUGGINGFACE_API_KEY for extension: huggingface
agixt-agixt-1      | Adding setting: HUGGINGFACE_AUDIO_TO_TEXT_MODEL for extension: huggingface
agixt-agixt-1      | Adding setting: WORKING_DIRECTORY for extension: huggingface
agixt-agixt-1      | Adding setting: USE_MAC_OS_TTS for extension: macostts
agixt-agixt-1      | Adding setting: MICROSOFT_365_CLIENT_ID for extension: microsoft_365
agixt-agixt-1      | Adding setting: MICROSOFT_365_CLIENT_SECRET for extension: microsoft_365
agixt-agixt-1      | Adding setting: MICROSOFT_365_REDIRECT_URI for extension: microsoft_365
agixt-agixt-1      | Adding setting: SEARXNG_INSTANCE_URL for extension: searxng
agixt-agixt-1      | Adding setting: SENDGRID_API_KEY for extension: sendgrid_email
agixt-agixt-1      | Adding setting: SENDGRID_EMAIL for extension: sendgrid_email
agixt-agixt-1      | Adding setting: TW_CONSUMER_KEY for extension: twitter
agixt-agixt-1      | Adding setting: TW_CONSUMER_SECRET for extension: twitter
agixt-agixt-1      | Adding setting: TW_ACCESS_TOKEN for extension: twitter
agixt-agixt-1      | Adding setting: TW_ACCESS_TOKEN_SECRET for extension: twitter
agixt-agixt-1      | Adding Default prompt category
agixt-agixt-1      | Adding prompt: Ask for Help
agixt-agixt-1      | Adding prompt argument: context for Ask for Help
agixt-agixt-1      | Adding prompt argument: question for Ask for Help
agixt-agixt-1      | Adding prompt: Break into steps
agixt-agixt-1      | Adding prompt argument: context for Break into steps
agixt-agixt-1      | Adding prompt argument: user_input for Break into steps
agixt-agixt-1      | Adding prompt argument: introduction for Break into steps
agixt-agixt-1      | Adding prompt: Chat with Commands
agixt-agixt-1      | Adding prompt argument: COMMANDS for Chat with Commands
agixt-agixt-1      | Adding prompt argument: context for Chat with Commands
agixt-agixt-1      | Adding prompt argument: conversation_history for Chat with Commands
agixt-agixt-1      | Adding prompt argument: user_input for Chat with Commands
agixt-agixt-1      | Adding prompt: Chat
agixt-agixt-1      | Adding prompt argument: context for Chat
agixt-agixt-1      | Adding prompt argument: conversation_history for Chat
agixt-agixt-1      | Adding prompt argument: user_input for Chat
agixt-agixt-1      | Adding prompt: Check-Instruction
agixt-agixt-1      | Adding prompt argument: user_input for Check-Instruction
agixt-agixt-1      | Adding prompt: Convert OpenAPI Endpoint
agixt-agixt-1      | Adding prompt argument: api_endpoint_info for Convert OpenAPI Endpoint
agixt-agixt-1      | Adding prompt: Create New Command
agixt-agixt-1      | Adding prompt argument: NEW_FUNCTION_DESCRIPTION for Create New Command
agixt-agixt-1      | Adding prompt: Create a Skeleton
agixt-agixt-1      | Adding prompt argument: command_list for Create a Skeleton
agixt-agixt-1      | Adding prompt argument: context for Create a Skeleton
agixt-agixt-1      | Adding prompt argument: conversation_history for Create a Skeleton
agixt-agixt-1      | Adding prompt argument: user_input for Create a Skeleton
agixt-agixt-1      | Adding prompt: Custom Input
agixt-agixt-1      | Adding prompt argument: context for Custom Input
agixt-agixt-1      | Adding prompt argument: user_input for Custom Input
agixt-agixt-1      | Adding prompt: Evaluate Code
agixt-agixt-1      | Adding prompt argument: code for Evaluate Code
agixt-agixt-1      | Adding prompt: Execution
agixt-agixt-1      | Adding prompt argument: context for Execution
agixt-agixt-1      | Adding prompt argument: user_input for Execution
agixt-agixt-1      | Adding prompt argument: COMMANDS for Execution
agixt-agixt-1      | Adding prompt: Expert Determination
agixt-agixt-1      | Adding prompt argument: task for Expert Determination
agixt-agixt-1      | Adding prompt: Get Clarification
agixt-agixt-1      | Adding prompt argument: task_in_question for Get Clarification
agixt-agixt-1      | Adding prompt: Get Task Description
agixt-agixt-1      | Adding prompt argument: user_input for Get Task Description
agixt-agixt-1      | Adding prompt: Get Task List
agixt-agixt-1      | Adding prompt argument: context for Get Task List
agixt-agixt-1      | Adding prompt argument: user_input for Get Task List
agixt-agixt-1      | Adding prompt: Get ezsession Auth Type
agixt-agixt-1      | Adding prompt argument: software_name for Get ezsession Auth Type
agixt-agixt-1      | Adding prompt: Instruction
agixt-agixt-1      | Adding prompt argument: COMMANDS for Instruction
agixt-agixt-1      | Adding prompt argument: working_directory for Instruction
agixt-agixt-1      | Adding prompt argument: user_input for Instruction
agixt-agixt-1      | Adding prompt: JSONFormatter
agixt-agixt-1      | Adding prompt argument: user_input for JSONFormatter
agixt-agixt-1      | Adding prompt: New Extension Format
agixt-agixt-1      | Adding prompt argument: extension_commands for New Extension Format
agixt-agixt-1      | Adding prompt argument: extension_functions for New Extension Format
agixt-agixt-1      | Adding prompt: Pick a Poem Subject
agixt-agixt-1      | Adding prompt: Pick-a-Link
agixt-agixt-1      | Adding prompt argument: context for Pick-a-Link
agixt-agixt-1      | Adding prompt argument: user_input for Pick-a-Link
agixt-agixt-1      | Adding prompt argument: url for Pick-a-Link
agixt-agixt-1      | Adding prompt argument: links for Pick-a-Link
agixt-agixt-1      | Adding prompt argument: visited_links for Pick-a-Link
agixt-agixt-1      | Adding prompt: Prioritize
agixt-agixt-1      | Adding prompt: Prompt Generator
agixt-agixt-1      | Adding prompt argument: job_title for Prompt Generator
agixt-agixt-1      | Adding prompt argument: task for Prompt Generator
agixt-agixt-1      | Adding prompt: Proofreader
agixt-agixt-1      | Adding prompt argument: user_input for Proofreader
agixt-agixt-1      | Adding prompt: Pseudo Code
agixt-agixt-1      | Adding prompt argument: OBJECTIVE for Pseudo Code
agixt-agixt-1      | Adding prompt: Score Response
agixt-agixt-1      | Adding prompt argument: input for Score Response
agixt-agixt-1      | Adding prompt argument: resp for Score Response
agixt-agixt-1      | Adding prompt: SmartChat-CleanResponse
agixt-agixt-1      | Adding prompt argument: context for SmartChat-CleanResponse
agixt-agixt-1      | Adding prompt argument: user_input for SmartChat-CleanResponse
agixt-agixt-1      | Adding prompt argument: resolver_response for SmartChat-CleanResponse
agixt-agixt-1      | Adding prompt: SmartChat-Researcher
agixt-agixt-1      | Adding prompt argument: context for SmartChat-Researcher
agixt-agixt-1      | Adding prompt argument: shot_count for SmartChat-Researcher
agixt-agixt-1      | Adding prompt argument: task for SmartChat-Researcher
agixt-agixt-1      | Adding prompt: SmartChat-Resolver
agixt-agixt-1      | Adding prompt argument: context for SmartChat-Resolver
agixt-agixt-1      | Adding prompt argument: shot_count for SmartChat-Resolver
agixt-agixt-1      | Adding prompt argument: task for SmartChat-Resolver
agixt-agixt-1      | Adding prompt: SmartChat-StepByStep
agixt-agixt-1      | Adding prompt argument: context for SmartChat-StepByStep
agixt-agixt-1      | Adding prompt argument: user_input for SmartChat-StepByStep
agixt-agixt-1      | Adding prompt: SmartInstruct-CleanResponse
agixt-agixt-1      | Adding prompt argument: context for SmartInstruct-CleanResponse
agixt-agixt-1      | Adding prompt argument: user_input for SmartInstruct-CleanResponse
agixt-agixt-1      | Adding prompt argument: resolver_response for SmartInstruct-CleanResponse
agixt-agixt-1      | Adding prompt argument: execution_response for SmartInstruct-CleanResponse
agixt-agixt-1      | Adding prompt: SmartInstruct-Execution
agixt-agixt-1      | Adding prompt argument: COMMANDS for SmartInstruct-Execution
agixt-agixt-1      | Adding prompt argument: user_input for SmartInstruct-Execution
agixt-agixt-1      | Adding prompt argument: previous_response for SmartInstruct-Execution
agixt-agixt-1      | Adding prompt argument: working_directory for SmartInstruct-Execution
agixt-agixt-1      | Adding prompt: SmartInstruct-Researcher
agixt-agixt-1      | Adding prompt argument: command_list for SmartInstruct-Researcher
agixt-agixt-1      | Adding prompt argument: context for SmartInstruct-Researcher
agixt-agixt-1      | Adding prompt argument: shot_count for SmartInstruct-Researcher
agixt-agixt-1      | Adding prompt argument: task for SmartInstruct-Researcher
agixt-agixt-1      | Adding prompt: SmartInstruct-Resolver
agixt-agixt-1      | Adding prompt argument: command_list for SmartInstruct-Resolver
agixt-agixt-1      | Adding prompt argument: context for SmartInstruct-Resolver
agixt-agixt-1      | Adding prompt argument: shot_count for SmartInstruct-Resolver
agixt-agixt-1      | Adding prompt argument: task for SmartInstruct-Resolver
agixt-agixt-1      | Adding prompt: SmartInstruct-StepByStep
agixt-agixt-1      | Adding prompt argument: command_list for SmartInstruct-StepByStep
agixt-agixt-1      | Adding prompt argument: context for SmartInstruct-StepByStep
agixt-agixt-1      | Adding prompt argument: user_input for SmartInstruct-StepByStep
agixt-agixt-1      | Adding prompt: SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt argument: context for SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt argument: objective for SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt argument: user_input for SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt argument: resolver_response for SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt argument: execution_response for SmartTask-CleanResponse
agixt-agixt-1      | Adding prompt: SmartTask-Execution
agixt-agixt-1      | Adding prompt argument: COMMANDS for SmartTask-Execution
agixt-agixt-1      | Adding prompt argument: objective for SmartTask-Execution
agixt-agixt-1      | Adding prompt argument: user_input for SmartTask-Execution
agixt-agixt-1      | Adding prompt argument: previous_response for SmartTask-Execution
agixt-agixt-1      | Adding prompt: SmartTask-StepByStep
agixt-agixt-1      | Adding prompt argument: command_list for SmartTask-StepByStep
agixt-agixt-1      | Adding prompt argument: context for SmartTask-StepByStep
agixt-agixt-1      | Adding prompt argument: objective for SmartTask-StepByStep
agixt-agixt-1      | Adding prompt argument: user_input for SmartTask-StepByStep
agixt-agixt-1      | Adding prompt: Summarize Web Content
agixt-agixt-1      | Adding prompt argument: chunk for Summarize Web Content
agixt-agixt-1      | Adding prompt argument: link for Summarize Web Content
agixt-agixt-1      | Adding prompt argument: user_input for Summarize Web Content
agixt-agixt-1      | Adding prompt: Task Execution
agixt-agixt-1      | Adding prompt argument: context for Task Execution
agixt-agixt-1      | Adding prompt argument: COMMANDS for Task Execution
agixt-agixt-1      | Adding prompt argument: introduction for Task Execution
agixt-agixt-1      | Adding prompt argument: working_directory for Task Execution
agixt-agixt-1      | Adding prompt: Tell Me How
agixt-agixt-1      | Adding prompt argument: user_input for Tell Me How
agixt-agixt-1      | Adding prompt: Title a Chain
agixt-agixt-1      | Adding prompt argument: user_input for Title a Chain
agixt-agixt-1      | Adding prompt: Title a Poem
agixt-agixt-1      | Adding prompt argument: poem for Title a Poem
agixt-agixt-1      | Adding prompt: Translate Math to Python
agixt-agixt-1      | Adding prompt argument: math_problem for Translate Math to Python
agixt-agixt-1      | Adding prompt: Validation
agixt-agixt-1      | Adding prompt argument: command_name for Validation
agixt-agixt-1      | Adding prompt argument: command_args for Validation
agixt-agixt-1      | Adding prompt argument: command_output for Validation
agixt-agixt-1      | Adding prompt: ValidationFailed
agixt-agixt-1      | Adding prompt argument: context for ValidationFailed
agixt-agixt-1      | Adding prompt argument: command_list for ValidationFailed
agixt-agixt-1      | Adding prompt argument: user_input for ValidationFailed
agixt-agixt-1      | Adding prompt argument: command_name for ValidationFailed
agixt-agixt-1      | Adding prompt argument: command_args for ValidationFailed
agixt-agixt-1      | Adding prompt argument: command_output for ValidationFailed
agixt-agixt-1      | Adding prompt: WebSearch
agixt-agixt-1      | Adding prompt argument: context for WebSearch
agixt-agixt-1      | Adding prompt argument: conversation_history for WebSearch
agixt-agixt-1      | Adding prompt argument: user_input for WebSearch
agixt-agixt-1      | Adding prompt: Write a Haiku
agixt-agixt-1      | Adding prompt argument: subject for Write a Haiku
agixt-agixt-1      | Adding prompt argument: user_input for Write a Haiku
agixt-agixt-1      | Adding prompt: Write a Poem
agixt-agixt-1      | Adding prompt argument: subject for Write a Poem
agixt-agixt-1      | Adding prompt argument: user_input for Write a Poem
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: working_directory for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt: instruct
agixt-agixt-1      | Adding prompt argument: COMMANDS for instruct
agixt-agixt-1      | Adding prompt argument: user_input for instruct
agixt-agixt-1      | Adding provider: agixt
agixt-agixt-1      | Adding provider setting: agents for provider: agixt
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: agixt
agixt-agixt-1      | Adding provider setting: provider for provider: agixt
agixt-agixt-1      | Adding provider: azure
agixt-agixt-1      | Adding provider setting: AZURE_API_KEY for provider: azure
agixt-agixt-1      | Adding provider setting: AZURE_OPENAI_ENDPOINT for provider: azure
agixt-agixt-1      | Adding provider setting: DEPLOYMENT_ID for provider: azure
agixt-agixt-1      | Adding provider setting: AZURE_EMBEDDER_DEPLOYMENT_ID for provider: azure
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: azure
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: azure
agixt-agixt-1      | Adding provider setting: AI_TOP_P for provider: azure
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: azure
agixt-agixt-1      | Adding provider setting: provider for provider: azure
agixt-agixt-1      | Collecting GoogleBard
agixt-agixt-1      |   Obtaining dependency information for GoogleBard from https://files.pythonhosted.org/packages/f9/cc/b5d84c60200dba531278c066d689221759f5c5845264ad8c8e7246c51a94/GoogleBard-2.1.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading GoogleBard-2.1.0-py3-none-any.whl.metadata (2.4 kB)
agixt-agixt-1      | Collecting prompt-toolkit (from GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for prompt-toolkit from https://files.pythonhosted.org/packages/a9/b4/ba77c84edf499877317225d7b7bc047a81f7c2eed9628eeb6bab0ac2e6c9/prompt_toolkit-3.0.39-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading prompt_toolkit-3.0.39-py3-none-any.whl.metadata (6.4 kB)
agixt-agixt-1      | Collecting rich (from GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for rich from https://files.pythonhosted.org/packages/8d/5f/21a93b2ec205f4b79853ff6e838e3c99064d5dbe85ec6b05967506f14af0/rich-13.5.2-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading rich-13.5.2-py3-none-any.whl.metadata (18 kB)
agixt-agixt-1      | Collecting httpx[socks] (from GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for httpx[socks] from https://files.pythonhosted.org/packages/ec/91/e41f64f03d2a13aee7e8c819d82ee3aa7cdc484d18c0ae859742597d5aa0/httpx-0.24.1-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading httpx-0.24.1-py3-none-any.whl.metadata (7.4 kB)
agixt-agixt-1      | Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx[socks]->GoogleBard) (2023.7.22)
agixt-agixt-1      | Collecting httpcore<0.18.0,>=0.15.0 (from httpx[socks]->GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for httpcore<0.18.0,>=0.15.0 from https://files.pythonhosted.org/packages/94/2c/2bde7ff8dd2064395555220cbf7cba79991172bf5315a07eb3ac7688d9f1/httpcore-0.17.3-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading httpcore-0.17.3-py3-none-any.whl.metadata (18 kB)
agixt-agixt-1      | Requirement already satisfied: idna in /usr/local/lib/python3.10/site-packages (from httpx[socks]->GoogleBard) (3.4)
agixt-agixt-1      | Requirement already satisfied: sniffio in /usr/local/lib/python3.10/site-packages (from httpx[socks]->GoogleBard) (1.3.0)
agixt-agixt-1      | Collecting socksio==1.* (from httpx[socks]->GoogleBard)
agixt-agixt-1      |   Downloading socksio-1.0.0-py3-none-any.whl (12 kB)
agixt-agixt-1      | Collecting wcwidth (from prompt-toolkit->GoogleBard)
agixt-agixt-1      |   Downloading wcwidth-0.2.6-py2.py3-none-any.whl (29 kB)
agixt-agixt-1      | Collecting markdown-it-py>=2.2.0 (from rich->GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for markdown-it-py>=2.2.0 from https://files.pythonhosted.org/packages/42/d7/1ec15b46af6af88f19b8e5ffea08fa375d433c998b8a7639e76935c14f1f/markdown_it_py-3.0.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading markdown_it_py-3.0.0-py3-none-any.whl.metadata (6.9 kB)
agixt-agixt-1      | Collecting pygments<3.0.0,>=2.13.0 (from rich->GoogleBard)
agixt-agixt-1      |   Obtaining dependency information for pygments<3.0.0,>=2.13.0 from https://files.pythonhosted.org/packages/43/88/29adf0b44ba6ac85045e63734ae0997d3c58d8b1a91c914d240828d0d73d/Pygments-2.16.1-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading Pygments-2.16.1-py3-none-any.whl.metadata (2.5 kB)
agixt-agixt-1      | Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/site-packages (from httpcore<0.18.0,>=0.15.0->httpx[socks]->GoogleBard) (0.14.0)
agixt-agixt-1      | Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/site-packages (from httpcore<0.18.0,>=0.15.0->httpx[socks]->GoogleBard) (3.7.1)
agixt-agixt-1      | Collecting mdurl~=0.1 (from markdown-it-py>=2.2.0->rich->GoogleBard)
agixt-agixt-1      |   Downloading mdurl-0.1.2-py3-none-any.whl (10.0 kB)
agixt-agixt-1      | Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx[socks]->GoogleBard) (1.1.2)
agixt-agixt-1      | Downloading GoogleBard-2.1.0-py3-none-any.whl (6.3 kB)
agixt-agixt-1      | Downloading prompt_toolkit-3.0.39-py3-none-any.whl (385 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 385.2/385.2 kB 5.1 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading rich-13.5.2-py3-none-any.whl (239 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 239.7/239.7 kB 12.4 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading httpcore-0.17.3-py3-none-any.whl (74 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 74.5/74.5 kB 5.5 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading markdown_it_py-3.0.0-py3-none-any.whl (87 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 87.5/87.5 kB 5.1 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading Pygments-2.16.1-py3-none-any.whl (1.2 MB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 15.0 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading httpx-0.24.1-py3-none-any.whl (75 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.4/75.4 kB 6.2 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Installing collected packages: wcwidth, socksio, pygments, prompt-toolkit, mdurl, markdown-it-py, httpcore, rich, httpx, GoogleBard
agixt-agixt-1      | Successfully installed GoogleBard-2.1.0 httpcore-0.17.3 httpx-0.24.1 markdown-it-py-3.0.0 mdurl-0.1.2 prompt-toolkit-3.0.39 pygments-2.16.1 rich-13.5.2 socksio-1.0.0 wcwidth-0.2.6
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Adding provider: bard
agixt-agixt-1      | Adding provider setting: BARD_TOKEN for provider: bard
agixt-agixt-1      | Adding provider setting: provider for provider: bard
agixt-agixt-1      | Collecting revChatGPT
agixt-agixt-1      |   Obtaining dependency information for revChatGPT from https://files.pythonhosted.org/packages/de/1a/867b47770a265af531c80135214880dcf7a0f0acbb10888932237986fc62/revChatGPT-6.8.6-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading revChatGPT-6.8.6-py3-none-any.whl.metadata (7.7 kB)
agixt-agixt-1      | Collecting OpenAIAuth>=3.0.0 (from revChatGPT)
agixt-agixt-1      |   Obtaining dependency information for OpenAIAuth>=3.0.0 from https://files.pythonhosted.org/packages/35/6c/17f8843d76cfa238fbb0e685d68d3764a019400d5c966bb7e1ef0ab87b46/OpenAIAuth-3.0.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading OpenAIAuth-3.0.0-py3-none-any.whl.metadata (1.9 kB)
agixt-agixt-1      | Requirement already satisfied: requests[socks] in /usr/local/lib/python3.10/site-packages (from revChatGPT) (2.31.0)
agixt-agixt-1      | Requirement already satisfied: httpx[socks] in /usr/local/lib/python3.10/site-packages (from revChatGPT) (0.24.1)
agixt-agixt-1      | Requirement already satisfied: prompt-toolkit in /usr/local/lib/python3.10/site-packages (from revChatGPT) (3.0.39)
agixt-agixt-1      | Requirement already satisfied: tiktoken>=0.3.0 in /usr/local/lib/python3.10/site-packages (from revChatGPT) (0.4.0)
agixt-agixt-1      | Requirement already satisfied: openai in /usr/local/lib/python3.10/site-packages (from revChatGPT) (0.27.8)
agixt-agixt-1      | Requirement already satisfied: rich in /usr/local/lib/python3.10/site-packages (from revChatGPT) (13.5.2)
agixt-agixt-1      | Collecting tls-client (from OpenAIAuth>=3.0.0->revChatGPT)
agixt-agixt-1      |   Downloading tls_client-0.2.1-py3-none-any.whl (35.2 MB)
agixt-agixt-1      |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 35.2/35.2 MB 26.4 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Requirement already satisfied: regex>=2022.1.18 in /usr/local/lib/python3.10/site-packages (from tiktoken>=0.3.0->revChatGPT) (2023.8.8)
agixt-agixt-1      | Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx[socks]->revChatGPT) (2023.7.22)
agixt-agixt-1      | Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /usr/local/lib/python3.10/site-packages (from httpx[socks]->revChatGPT) (0.17.3)
agixt-agixt-1      | Requirement already satisfied: idna in /usr/local/lib/python3.10/site-packages (from httpx[socks]->revChatGPT) (3.4)
agixt-agixt-1      | Requirement already satisfied: sniffio in /usr/local/lib/python3.10/site-packages (from httpx[socks]->revChatGPT) (1.3.0)
agixt-agixt-1      | Requirement already satisfied: socksio==1.* in /usr/local/lib/python3.10/site-packages (from httpx[socks]->revChatGPT) (1.0.0)
agixt-agixt-1      | Requirement already satisfied: tqdm in /usr/local/lib/python3.10/site-packages (from openai->revChatGPT) (4.66.1)
agixt-agixt-1      | Requirement already satisfied: aiohttp in /usr/local/lib/python3.10/site-packages (from openai->revChatGPT) (3.8.5)
agixt-agixt-1      | Requirement already satisfied: wcwidth in /usr/local/lib/python3.10/site-packages (from prompt-toolkit->revChatGPT) (0.2.6)
agixt-agixt-1      | Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests[socks]->revChatGPT) (3.2.0)
agixt-agixt-1      | Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests[socks]->revChatGPT) (1.26.16)
agixt-agixt-1      | Requirement already satisfied: PySocks!=1.5.7,>=1.5.6 in /usr/local/lib/python3.10/site-packages (from requests[socks]->revChatGPT) (1.7.1)
agixt-agixt-1      | Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/site-packages (from rich->revChatGPT) (3.0.0)
agixt-agixt-1      | Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/site-packages (from rich->revChatGPT) (2.16.1)
agixt-agixt-1      | Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/site-packages (from httpcore<0.18.0,>=0.15.0->httpx[socks]->revChatGPT) (0.14.0)
agixt-agixt-1      | Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/site-packages (from httpcore<0.18.0,>=0.15.0->httpx[socks]->revChatGPT) (3.7.1)
agixt-agixt-1      | Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich->revChatGPT) (0.1.2)
agixt-agixt-1      | Requirement already satisfied: attrs>=17.3.0 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (23.1.0)
agixt-agixt-1      | Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (6.0.4)
agixt-agixt-1      | Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (4.0.3)
agixt-agixt-1      | Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (1.9.2)
agixt-agixt-1      | Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (1.4.0)
agixt-agixt-1      | Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/site-packages (from aiohttp->openai->revChatGPT) (1.3.1)
agixt-agixt-1      | Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/site-packages (from anyio<5.0,>=3.0->httpcore<0.18.0,>=0.15.0->httpx[socks]->revChatGPT) (1.1.2)
agixt-agixt-1      | Downloading revChatGPT-6.8.6-py3-none-any.whl (33 kB)
agixt-agixt-1      | Downloading OpenAIAuth-3.0.0-py3-none-any.whl (5.1 kB)
agixt-agixt-1      | Installing collected packages: tls-client, OpenAIAuth, revChatGPT
agixt-agixt-1      | Successfully installed OpenAIAuth-3.0.0 revChatGPT-6.8.6 tls-client-0.2.1
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Adding provider: chatgpt
agixt-agixt-1      | Adding provider setting: CHATGPT_TOKEN for provider: chatgpt
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: chatgpt
agixt-agixt-1      | Adding provider setting: provider for provider: chatgpt
agixt-agixt-1      | Collecting anthropic
agixt-agixt-1      |   Obtaining dependency information for anthropic from https://files.pythonhosted.org/packages/85/b6/e6c5c525c1cce2a5216f425abd5bd7a6a90dba9633834a644a7754501d29/anthropic-0.3.9-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading anthropic-0.3.9-py3-none-any.whl.metadata (11 kB)
agixt-agixt-1      | Requirement already satisfied: anyio<4,>=3.5.0 in /usr/local/lib/python3.10/site-packages (from anthropic) (3.7.1)
agixt-agixt-1      | Collecting distro<2,>=1.7.0 (from anthropic)
agixt-agixt-1      |   Downloading distro-1.8.0-py3-none-any.whl (20 kB)
agixt-agixt-1      | Requirement already satisfied: httpx<1,>=0.23.0 in /usr/local/lib/python3.10/site-packages (from anthropic) (0.24.1)
agixt-agixt-1      | Requirement already satisfied: pydantic<2.0.0,>=1.9.0 in /usr/local/lib/python3.10/site-packages (from anthropic) (1.10.12)
agixt-agixt-1      | Requirement already satisfied: tokenizers>=0.13.0 in /usr/local/lib/python3.10/site-packages (from anthropic) (0.13.3)
agixt-agixt-1      | Requirement already satisfied: typing-extensions<5,>=4.5 in /usr/local/lib/python3.10/site-packages (from anthropic) (4.7.1)
agixt-agixt-1      | Requirement already satisfied: idna>=2.8 in /usr/local/lib/python3.10/site-packages (from anyio<4,>=3.5.0->anthropic) (3.4)
agixt-agixt-1      | Requirement already satisfied: sniffio>=1.1 in /usr/local/lib/python3.10/site-packages (from anyio<4,>=3.5.0->anthropic) (1.3.0)
agixt-agixt-1      | Requirement already satisfied: exceptiongroup in /usr/local/lib/python3.10/site-packages (from anyio<4,>=3.5.0->anthropic) (1.1.2)
agixt-agixt-1      | Requirement already satisfied: certifi in /usr/local/lib/python3.10/site-packages (from httpx<1,>=0.23.0->anthropic) (2023.7.22)
agixt-agixt-1      | Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /usr/local/lib/python3.10/site-packages (from httpx<1,>=0.23.0->anthropic) (0.17.3)
agixt-agixt-1      | Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/site-packages (from httpcore<0.18.0,>=0.15.0->httpx<1,>=0.23.0->anthropic) (0.14.0)
agixt-agixt-1      | Downloading anthropic-0.3.9-py3-none-any.whl (794 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 794.3/794.3 kB 6.2 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Installing collected packages: distro, anthropic
agixt-agixt-1      | Successfully installed anthropic-0.3.9 distro-1.8.0
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Adding provider: claude
agixt-agixt-1      | Adding provider setting: ANTHROPIC_API_KEY for provider: claude
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: claude
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: claude
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: claude
agixt-agixt-1      | Adding provider setting: provider for provider: claude
agixt-agixt-1      | Adding provider: custom
agixt-agixt-1      | Adding provider setting: API_KEY for provider: custom
agixt-agixt-1      | Adding provider setting: API_URI for provider: custom
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: custom
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: custom
agixt-agixt-1      | Adding provider setting: AI_TOP_P for provider: custom
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: custom
agixt-agixt-1      | Adding provider setting: WAIT_BETWEEN_REQUESTS for provider: custom
agixt-agixt-1      | Adding provider setting: WAIT_AFTER_FAILURE for provider: custom
agixt-agixt-1      | Adding provider setting: provider for provider: custom
agixt-agixt-1      | Adding provider: fastchat
agixt-agixt-1      | Adding provider setting: AI_PROVIDER_URI for provider: fastchat
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: fastchat
agixt-agixt-1      | Adding provider setting: MODEL_PATH for provider: fastchat
agixt-agixt-1      | Adding provider setting: provider for provider: fastchat
agixt-agixt-1      | Collecting gpt4all
agixt-agixt-1      |   Obtaining dependency information for gpt4all from https://files.pythonhosted.org/packages/32/74/542dbc9e58cc92b07bfb8c38f7a4d4d9057da5b50a8379dd16304c6d49ec/gpt4all-1.0.8-py3-none-manylinux1_x86_64.whl.metadata
agixt-agixt-1      |   Downloading gpt4all-1.0.8-py3-none-manylinux1_x86_64.whl.metadata (912 bytes)
agixt-agixt-1      | Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from gpt4all) (2.31.0)
agixt-agixt-1      | Requirement already satisfied: tqdm in /usr/local/lib/python3.10/site-packages (from gpt4all) (4.66.1)
agixt-agixt-1      | Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests->gpt4all) (3.2.0)
agixt-agixt-1      | Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests->gpt4all) (3.4)
agixt-agixt-1      | Requirement already satisfied: urllib3<3,>=1.21.1 in /usr/local/lib/python3.10/site-packages (from requests->gpt4all) (1.26.16)
agixt-agixt-1      | Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests->gpt4all) (2023.7.22)
agixt-agixt-1      | Downloading gpt4all-1.0.8-py3-none-manylinux1_x86_64.whl (4.2 MB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 13.5 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Installing collected packages: gpt4all
agixt-agixt-1      | Successfully installed gpt4all-1.0.8
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Adding provider: gpt4all
agixt-agixt-1      | Adding provider setting: MODEL_NAME for provider: gpt4all
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: gpt4all
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: gpt4all
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: gpt4all
agixt-agixt-1      | Adding provider setting: provider for provider: gpt4all
agixt-agixt-1      | Adding provider: gpt4free
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: gpt4free
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: gpt4free
agixt-agixt-1      | Adding provider setting: AI_TOP_P for provider: gpt4free
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: gpt4free
agixt-agixt-1      | Adding provider setting: WAIT_BETWEEN_REQUESTS for provider: gpt4free
agixt-agixt-1      | Adding provider setting: WAIT_AFTER_FAILURE for provider: gpt4free
agixt-agixt-1      | Adding provider setting: provider for provider: gpt4free
agixt-agixt-1      | Collecting nomic
agixt-agixt-1      |   Downloading nomic-2.0.5.tar.gz (33 kB)
agixt-agixt-1      |   Preparing metadata (setup.py): started
agixt-agixt-1      |   Preparing metadata (setup.py): finished with status 'done'
agixt-agixt-1      | Requirement already satisfied: click in /usr/local/lib/python3.10/site-packages (from nomic) (8.1.6)
agixt-agixt-1      | Collecting jsonlines (from nomic)
agixt-agixt-1      |   Downloading jsonlines-3.1.0-py3-none-any.whl (8.6 kB)
agixt-agixt-1      | Collecting loguru (from nomic)
agixt-agixt-1      |   Downloading loguru-0.7.0-py3-none-any.whl (59 kB)
agixt-agixt-1      |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 60.0/60.0 kB 2.8 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Requirement already satisfied: rich in /usr/local/lib/python3.10/site-packages (from nomic) (13.5.2)
agixt-agixt-1      | Requirement already satisfied: requests in /usr/local/lib/python3.10/site-packages (from nomic) (2.31.0)
agixt-agixt-1      | Requirement already satisfied: numpy in /usr/local/lib/python3.10/site-packages (from nomic) (1.25.2)
agixt-agixt-1      | Requirement already satisfied: pandas in /usr/local/lib/python3.10/site-packages (from nomic) (2.0.1)
agixt-agixt-1      | Requirement already satisfied: pydantic in /usr/local/lib/python3.10/site-packages (from nomic) (1.10.12)
agixt-agixt-1      | Collecting wonderwords (from nomic)
agixt-agixt-1      |   Downloading wonderwords-2.2.0-py3-none-any.whl (44 kB)
agixt-agixt-1      |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.0/45.0 kB 3.4 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Requirement already satisfied: tqdm in /usr/local/lib/python3.10/site-packages (from nomic) (4.66.1)
agixt-agixt-1      | Collecting cohere (from nomic)
agixt-agixt-1      |   Obtaining dependency information for cohere from https://files.pythonhosted.org/packages/d9/b4/32ee2b5be6420000a31a24ec92443a5fff993f613e919381172d8cbe6dd9/cohere-4.20.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading cohere-4.20.0-py3-none-any.whl.metadata (5.3 kB)
agixt-agixt-1      | Collecting pyarrow (from nomic)
agixt-agixt-1      |   Obtaining dependency information for pyarrow from https://files.pythonhosted.org/packages/0d/c8/886acfcce7cb2f7552f538d2b6deafd4841f3de42902943db15f1b42313d/pyarrow-12.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
agixt-agixt-1      |   Downloading pyarrow-12.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.0 kB)
agixt-agixt-1      | Requirement already satisfied: aiohttp<4.0,>=3.0 in /usr/local/lib/python3.10/site-packages (from cohere->nomic) (3.8.5)
agixt-agixt-1      | Requirement already satisfied: backoff<3.0,>=2.0 in /usr/local/lib/python3.10/site-packages (from cohere->nomic) (2.2.1)
agixt-agixt-1      | Collecting fastavro==1.8.2 (from cohere->nomic)
agixt-agixt-1      |   Obtaining dependency information for fastavro==1.8.2 from https://files.pythonhosted.org/packages/43/96/8cecc293becb041c0a6106d9b4cd8295f9eff30f883731204c3ca43813f2/fastavro-1.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
agixt-agixt-1      |   Downloading fastavro-1.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.5 kB)
agixt-agixt-1      | Collecting importlib_metadata<7.0,>=6.0 (from cohere->nomic)
agixt-agixt-1      |   Obtaining dependency information for importlib_metadata<7.0,>=6.0 from https://files.pythonhosted.org/packages/cc/37/db7ba97e676af155f5fcb1a35466f446eadc9104e25b83366e8088c9c926/importlib_metadata-6.8.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading importlib_metadata-6.8.0-py3-none-any.whl.metadata (5.1 kB)
agixt-agixt-1      | Requirement already satisfied: urllib3<3,>=1.26 in /usr/local/lib/python3.10/site-packages (from cohere->nomic) (1.26.16)
agixt-agixt-1      | Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests->nomic) (3.2.0)
agixt-agixt-1      | Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests->nomic) (3.4)
agixt-agixt-1      | Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests->nomic) (2023.7.22)
agixt-agixt-1      | Requirement already satisfied: attrs>=19.2.0 in /usr/local/lib/python3.10/site-packages (from jsonlines->nomic) (23.1.0)
agixt-agixt-1      | Requirement already satisfied: python-dateutil>=2.8.2 in /usr/local/lib/python3.10/site-packages (from pandas->nomic) (2.8.2)
agixt-agixt-1      | Requirement already satisfied: pytz>=2020.1 in /usr/local/lib/python3.10/site-packages (from pandas->nomic) (2023.3)
agixt-agixt-1      | Requirement already satisfied: tzdata>=2022.1 in /usr/local/lib/python3.10/site-packages (from pandas->nomic) (2023.3)
agixt-agixt-1      | Requirement already satisfied: typing-extensions>=4.2.0 in /usr/local/lib/python3.10/site-packages (from pydantic->nomic) (4.7.1)
agixt-agixt-1      | Requirement already satisfied: markdown-it-py>=2.2.0 in /usr/local/lib/python3.10/site-packages (from rich->nomic) (3.0.0)
agixt-agixt-1      | Requirement already satisfied: pygments<3.0.0,>=2.13.0 in /usr/local/lib/python3.10/site-packages (from rich->nomic) (2.16.1)
agixt-agixt-1      | Requirement already satisfied: multidict<7.0,>=4.5 in /usr/local/lib/python3.10/site-packages (from aiohttp<4.0,>=3.0->cohere->nomic) (6.0.4)
agixt-agixt-1      | Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in /usr/local/lib/python3.10/site-packages (from aiohttp<4.0,>=3.0->cohere->nomic) (4.0.3)
agixt-agixt-1      | Requirement already satisfied: yarl<2.0,>=1.0 in /usr/local/lib/python3.10/site-packages (from aiohttp<4.0,>=3.0->cohere->nomic) (1.9.2)
agixt-agixt-1      | Requirement already satisfied: frozenlist>=1.1.1 in /usr/local/lib/python3.10/site-packages (from aiohttp<4.0,>=3.0->cohere->nomic) (1.4.0)
agixt-agixt-1      | Requirement already satisfied: aiosignal>=1.1.2 in /usr/local/lib/python3.10/site-packages (from aiohttp<4.0,>=3.0->cohere->nomic) (1.3.1)
agixt-agixt-1      | Collecting zipp>=0.5 (from importlib_metadata<7.0,>=6.0->cohere->nomic)
agixt-agixt-1      |   Obtaining dependency information for zipp>=0.5 from https://files.pythonhosted.org/packages/8c/08/d3006317aefe25ea79d3b76c9650afabaf6d63d1c8443b236e7405447503/zipp-3.16.2-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading zipp-3.16.2-py3-none-any.whl.metadata (3.7 kB)
agixt-agixt-1      | Requirement already satisfied: mdurl~=0.1 in /usr/local/lib/python3.10/site-packages (from markdown-it-py>=2.2.0->rich->nomic) (0.1.2)
agixt-agixt-1      | Requirement already satisfied: six>=1.5 in /usr/local/lib/python3.10/site-packages (from python-dateutil>=2.8.2->pandas->nomic) (1.16.0)
agixt-agixt-1      | Downloading cohere-4.20.0-py3-none-any.whl (45 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 45.8/45.8 kB 3.0 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading fastavro-1.8.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.7/2.7 MB 16.0 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading pyarrow-12.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (38.9 MB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 38.9/38.9 MB 30.6 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading importlib_metadata-6.8.0-py3-none-any.whl (22 kB)
agixt-agixt-1      | Downloading zipp-3.16.2-py3-none-any.whl (7.2 kB)
agixt-agixt-1      | Building wheels for collected packages: nomic
agixt-agixt-1      |   Building wheel for nomic (setup.py): started
agixt-agixt-1      |   Building wheel for nomic (setup.py): finished with status 'done'
agixt-agixt-1      |   Created wheel for nomic: filename=nomic-2.0.5-py3-none-any.whl size=36005 sha256=04418c0a33d604fc7b76d1419f985793d97fd5f43518df2b2fc8e5017c3782f8
agixt-agixt-1      |   Stored in directory: /root/.cache/pip/wheels/14/12/5e/5f0671353a53dbeac75737abf80d2bfcdd4b2ce12182a53cff
agixt-agixt-1      | Successfully built nomic
agixt-agixt-1      | Installing collected packages: zipp, wonderwords, pyarrow, loguru, jsonlines, fastavro, importlib_metadata, cohere, nomic
agixt-agixt-1      | Successfully installed cohere-4.20.0 fastavro-1.8.2 importlib_metadata-6.8.0 jsonlines-3.1.0 loguru-0.7.0 nomic-2.0.5 pyarrow-12.0.1 wonderwords-2.2.0 zipp-3.16.2
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Traceback (most recent call last):
agixt-agixt-1      |   File "/agixt/providers/gpugpt4all.py", line 2, in <module>
agixt-agixt-1      |     from nomic.gpt4all import GPT4AllGPU as GPT4All
agixt-agixt-1      | ModuleNotFoundError: No module named 'nomic'
agixt-agixt-1      | 
agixt-agixt-1      | During handling of the above exception, another exception occurred:
agixt-agixt-1      | 
agixt-agixt-1      | Traceback (most recent call last):
agixt-agixt-1      |   File "/agixt/Hub.py", line 153, in <module>
agixt-agixt-1      |     import_agixt_hub()
agixt-agixt-1      |   File "/agixt/Hub.py", line 146, in import_agixt_hub
agixt-agixt-1      |     import_providers()
agixt-agixt-1      |   File "/agixt/db/imports.py", line 350, in import_providers
agixt-agixt-1      |     provider_options = get_provider_options(provider_name)
agixt-agixt-1      |   File "/agixt/Providers.py", line 19, in get_provider_options
agixt-agixt-1      |     module = importlib.import_module(f"providers.{provider_name}")
agixt-agixt-1      |   File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
agixt-agixt-1      |     return _bootstrap._gcd_import(name[level:], package, level)
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
agixt-agixt-1      |   File "/agixt/providers/gpugpt4all.py", line 8, in <module>
agixt-agixt-1      |     from nomic.gpt4all import GPT4AllGPU as GPT4All
agixt-agixt-1      | ModuleNotFoundError: No module named 'nomic.gpt4all'
agixt-agixt-1      | 
agixt-agixt-1 exited with code 1
^CGracefully stopping... (press Ctrl+C again to force)
Aborting on container exit...
[+] Stopping 3/3
 ✔ Container agixt-streamlit-1  Stopped                                                                                                                                      0.6s 
 ✔ Container agixt-agixt-1      Stopped                                                                                                                                      0.0s 
 ✔ Container agixt-db-1         Stopped                                                                                                                                      1.6s 
canceled
m4t7 commented 1 year ago

You fixed last time agixt/providers/gpt4all, but there is also agixt/providers/gpugpt4all

subprocess.check_call([sys.executable, "-m", "pip", "install", "nomic"])
from nomic.gpt4all import GPT4AllGPU as GPT4All

https://github.com/Josh-XT/AGiXT/blob/main/agixt/providers/gpugpt4all.py#L7 https://github.com/Josh-XT/AGiXT/blob/main/agixt/providers/gpugpt4all.py#L8

Josh-XT commented 1 year ago

Ahh! I see. I have a PR open right now that I am working on that will remove it among other things. I need to do some testing before I push it to main still.

m4t7 commented 1 year ago

Don't worry. I have time... Again, great project. I'm super excited to get started with all the new features :smile:

Josh-XT commented 1 year ago

The latest release should have the fix for this.

m4t7 commented 1 year ago

I tried a complete new deployment, the initial issue is solved.

I receive now a new issue, again for something provider specific.

agixt-agixt-1      |   Downloading google_generativeai-0.1.0-py3-none-any.whl.metadata (3.0 kB)
agixt-agixt-1      | Collecting google-ai-generativelanguage==0.2.0 (from google-generativeai)
agixt-agixt-1      |   Downloading google_ai_generativelanguage-0.2.0-py3-none-any.whl (113 kB)
agixt-agixt-1      |      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 113.3/113.3 kB 2.3 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Requirement already satisfied: google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0 in /usr/local/lib/python3.10/site-packages (from google-ai-generativelanguage==0.2.0->google-generativeai) (2.11.1)
agixt-agixt-1      | Collecting proto-plus<2.0.0dev,>=1.22.0 (from google-ai-generativelanguage==0.2.0->google-generativeai)
agixt-agixt-1      |   Obtaining dependency information for proto-plus<2.0.0dev,>=1.22.0 from https://files.pythonhosted.org/packages/36/5b/e02636d221917d6fa2a61289b3f16002eb4c93d51c0191ac8e896d527182/proto_plus-1.22.3-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading proto_plus-1.22.3-py3-none-any.whl.metadata (2.2 kB)
agixt-agixt-1      | Requirement already satisfied: protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5 in /usr/local/lib/python3.10/site-packages (from google-ai-generativelanguage==0.2.0->google-generativeai) (3.20.3)
agixt-agixt-1      | Requirement already satisfied: googleapis-common-protos<2.0.dev0,>=1.56.2 in /usr/local/lib/python3.10/site-packages (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (1.60.0)
agixt-agixt-1      | Requirement already satisfied: google-auth<3.0.dev0,>=2.14.1 in /usr/local/lib/python3.10/site-packages (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (2.22.0)
agixt-agixt-1      | Requirement already satisfied: requests<3.0.0.dev0,>=2.18.0 in /usr/local/lib/python3.10/site-packages (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (2.31.0)
agixt-agixt-1      | Collecting grpcio<2.0dev,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai)
agixt-agixt-1      |   Obtaining dependency information for grpcio<2.0dev,>=1.33.2 from https://files.pythonhosted.org/packages/28/fa/c38a010d3fffcac07ef121abb34eb2c3db0876df74267ce5bde13c3a6ed7/grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
agixt-agixt-1      |   Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (4.0 kB)
agixt-agixt-1      | Collecting grpcio-status<2.0.dev0,>=1.33.2 (from google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai)
agixt-agixt-1      |   Obtaining dependency information for grpcio-status<2.0.dev0,>=1.33.2 from https://files.pythonhosted.org/packages/d0/3f/347d93056572fdbd64d4f0fc58a18d420763a7118f8b177437d9dab0ae6f/grpcio_status-1.57.0-py3-none-any.whl.metadata
agixt-agixt-1      |   Downloading grpcio_status-1.57.0-py3-none-any.whl.metadata (1.2 kB)
agixt-agixt-1      | Requirement already satisfied: cachetools<6.0,>=2.0.0 in /usr/local/lib/python3.10/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (5.3.1)
agixt-agixt-1      | Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.10/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (0.3.0)
agixt-agixt-1      | Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.10/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (4.9)
agixt-agixt-1      | Requirement already satisfied: six>=1.9.0 in /usr/local/lib/python3.10/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (1.16.0)
agixt-agixt-1      | Requirement already satisfied: urllib3<2.0 in /usr/local/lib/python3.10/site-packages (from google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (1.26.16)
agixt-agixt-1      | Collecting protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5 (from google-ai-generativelanguage==0.2.0->google-generativeai)
agixt-agixt-1      |   Obtaining dependency information for protobuf!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5,<5.0.0dev,>=3.19.5 from https://files.pythonhosted.org/packages/ed/33/f7a5717125d9f699b193fa23904725514b82643d522aa189aba03149ba3b/protobuf-4.24.0-cp37-abi3-manylinux2014_x86_64.whl.metadata
agixt-agixt-1      |   Downloading protobuf-4.24.0-cp37-abi3-manylinux2014_x86_64.whl.metadata (540 bytes)
agixt-agixt-1      | Requirement already satisfied: charset-normalizer<4,>=2 in /usr/local/lib/python3.10/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (3.2.0)
agixt-agixt-1      | Requirement already satisfied: idna<4,>=2.5 in /usr/local/lib/python3.10/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (3.4)
agixt-agixt-1      | Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.10/site-packages (from requests<3.0.0.dev0,>=2.18.0->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (2023.7.22)
agixt-agixt-1      | Requirement already satisfied: pyasn1<0.6.0,>=0.4.6 in /usr/local/lib/python3.10/site-packages (from pyasn1-modules>=0.2.1->google-auth<3.0.dev0,>=2.14.1->google-api-core[grpc]!=2.0.*,!=2.1.*,!=2.10.*,!=2.2.*,!=2.3.*,!=2.4.*,!=2.5.*,!=2.6.*,!=2.7.*,!=2.8.*,!=2.9.*,<3.0.0dev,>=1.34.0->google-ai-generativelanguage==0.2.0->google-generativeai) (0.5.0)
agixt-agixt-1      | Downloading google_generativeai-0.1.0-py3-none-any.whl (122 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 122.9/122.9 kB 6.4 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading proto_plus-1.22.3-py3-none-any.whl (48 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.1/48.1 kB 3.6 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading grpcio-1.57.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (5.3 MB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 5.3/5.3 MB 27.5 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Downloading grpcio_status-1.57.0-py3-none-any.whl (5.1 kB)
agixt-agixt-1      | Downloading protobuf-4.24.0-cp37-abi3-manylinux2014_x86_64.whl (311 kB)
agixt-agixt-1      |    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 311.6/311.6 kB 11.4 MB/s eta 0:00:00
agixt-agixt-1      | 
agixt-agixt-1      | 
agixt-agixt-1      | Installing collected packages: protobuf, grpcio, proto-plus, grpcio-status, google-ai-generativelanguage, google-generativeai
agixt-agixt-1      |   Attempting uninstall: protobuf
agixt-agixt-1      |     Found existing installation: protobuf 3.20.3
agixt-agixt-1      |     Uninstalling protobuf-3.20.3:
agixt-agixt-1      |       Successfully uninstalled protobuf-3.20.3
agixt-agixt-1      | Successfully installed google-ai-generativelanguage-0.2.0 google-generativeai-0.1.0 grpcio-1.57.0 grpcio-status-1.57.0 proto-plus-1.22.3 protobuf-4.24.0
agixt-agixt-1      | WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
agixt-agixt-1      | Adding provider: palm
agixt-agixt-1      | Adding provider setting: AI_MODEL for provider: palm
agixt-agixt-1      | Adding provider setting: PALM_API_KEY for provider: palm
agixt-agixt-1      | Adding provider setting: AI_TEMPERATURE for provider: palm
agixt-agixt-1      | Adding provider setting: MAX_TOKENS for provider: palm
agixt-agixt-1      | Adding provider setting: provider for provider: palm
agixt-agixt-1      | Traceback (most recent call last):
agixt-agixt-1      |   File "/agixt/Hub.py", line 153, in <module>
agixt-agixt-1      |     import_agixt_hub()
agixt-agixt-1      |   File "/agixt/Hub.py", line 146, in import_agixt_hub
agixt-agixt-1      |     import_providers()
agixt-agixt-1      |   File "/agixt/db/imports.py", line 350, in import_providers
agixt-agixt-1      |     provider_options = get_provider_options(provider_name)
agixt-agixt-1      |   File "/agixt/Providers.py", line 19, in get_provider_options
agixt-agixt-1      |     module = importlib.import_module(f"providers.{provider_name}")
agixt-agixt-1      |   File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
agixt-agixt-1      |     return _bootstrap._gcd_import(name[level:], package, level)
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
agixt-agixt-1      |   File "/agixt/providers/petals.py", line 1, in <module>
agixt-agixt-1      |     from pipeline import PipelineProvider
agixt-agixt-1      | ModuleNotFoundError: No module named 'pipeline'
agixt-agixt-1 exited with code 1

After Ctrl + C and a new Script start , streamlit UI is loaded and I can select for example gpt4all as a provider, then it fails again with another issue.

image

Josh-XT commented 1 year ago

Didn't mean for this to close that - I put in a fix for the Petal provider error in v1.3.103 .

m4t7 commented 1 year ago

Still something left ?

agixt-agixt-1      | Traceback (most recent call last):
agixt-agixt-1      |   File "/agixt/providers/petals.py", line 5, in <module>
agixt-agixt-1      |     from petals import AutoDistributedModelForCausalLM
agixt-agixt-1      | ModuleNotFoundError: No module named 'petals'
agixt-agixt-1      | 
agixt-agixt-1      | During handling of the above exception, another exception occurred:
agixt-agixt-1      | 
agixt-agixt-1      | Traceback (most recent call last):
agixt-agixt-1      |   File "/agixt/Hub.py", line 153, in <module>
agixt-agixt-1      |     import_agixt_hub()
agixt-agixt-1      |   File "/agixt/Hub.py", line 146, in import_agixt_hub
agixt-agixt-1      |     import_providers()
agixt-agixt-1      |   File "/agixt/db/imports.py", line 350, in import_providers
agixt-agixt-1      |     provider_options = get_provider_options(provider_name)
agixt-agixt-1      |   File "/agixt/Providers.py", line 19, in get_provider_options
agixt-agixt-1      |     module = importlib.import_module(f"providers.{provider_name}")
agixt-agixt-1      |   File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
agixt-agixt-1      |     return _bootstrap._gcd_import(name[level:], package, level)
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
agixt-agixt-1      |   File "<frozen importlib._bootstrap_external>", line 883, in exec_module
agixt-agixt-1      |   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
agixt-agixt-1      |   File "/agixt/providers/petals.py", line 10, in <module>
agixt-agixt-1      |     from petals import AutoDistributedModelForCausalLM
agixt-agixt-1      |   File "/usr/local/lib/python3.10/site-packages/petals/__init__.py", line 19, in <module>
agixt-agixt-1      |     version.parse("4.31.0") <= version.parse(transformers.__version__) < version.parse("5.0.0")
agixt-agixt-1      | AssertionError: Please install a proper transformers version: pip install transformers>=4.31.0,<5.0.0
agixt-agixt-1      | 
agixt-agixt-1 exited with code 1
Josh-XT commented 1 year ago

v1.3.106 fixes that error and handles any errors that might come up on that step now.

m4t7 commented 1 year ago

Yes it is fixed! Thanks for your quick support. With the error handler these issues should gone, great to see the improvments :smile: