🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
update requirements.txt
seehi0a3c120806c7
diff --git a/metagpt/rag/factories/llm.py b/metagpt/rag/factories/llm.pyindex b551532d4..70d66dd37 100644--- a/metagpt/rag/factories/llm.py+++ b/metagpt/rag/factories/llm.py@@ -3,7 +3,6 @@The LLM of LlamaIndex and the LLM of MG are not the same."""from llama_index.core.llms import LLM-from llama_index.llms.anthropic import Anthropicfrom llama_index.llms.azure_openai import AzureOpenAIfrom llama_index.llms.gemini import Geminifrom llama_index.llms.ollama import Ollama@@ -21,7 +20,6 @@ class RAGLLMFactory(GenericFactory):creators = {LLMType.OPENAI: self._create_openai,LLMType.AZURE: self._create_azure,- LLMType.ANTHROPIC: self._create_anthropic,LLMType.GEMINI: self._create_gemini,LLMType.OLLAMA: self._create_ollama,}@@ -51,15 +49,6 @@ class RAGLLMFactory(GenericFactory):temperature=config.llm.temperature,)- def _create_anthropic(self):- return Anthropic(- base_url=config.llm.base_url,- api_key=config.llm.api_key,- model=config.llm.model,- max_tokens=config.llm.max_token,- temperature=config.llm.temperature,- )-def _create_gemini(self):return Gemini(api_base=config.llm.base_url,diff --git a/requirements.txt b/requirements.txtindex 3a0c89632..366fd7545 100644--- a/requirements.txt+++ b/requirements.txt@@ -11,9 +11,8 @@ typer==0.9.0# godot==0.1.1# google_api_python_client==2.93.0 # Used by search_engine.pylancedb==0.4.0-llama-index-core==0.10.11.post1+llama-index-core==0.10.12llama-index-embeddings-openai==0.1.5-llama-index-llms-anthropic==0.1.3llama-index-llms-azure-openai==0.1.4llama-index-llms-gemini==0.1.4llama-index-llms-ollama==0.1.2@@ -26,7 +25,7 @@ meilisearch==0.21.0numpy==1.24.3openai==1.6.1openpyxl-beautifulsoup4==4.12.2+beautifulsoup4==4.12.3pandas==2.0.3pydantic==2.5.3#pygame==2.1.3@@ -38,7 +37,7 @@ PyYAML==6.0.1setuptools==65.6.3tenacity==8.2.2tiktoken==0.5.2-tqdm==4.65.0+tqdm==4.66.2#unstructured[local-inference]# selenium>4# webdriver_manager<3.9