mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-07 23:02:38 +02:00
修改内容:
调整llm引用模式 添加对星火大模型的支持 在模型报错时可以人工输入 可以通过config直接全人工输入
This commit is contained in:
parent
206bc252de
commit
6046f9c942
18 changed files with 277 additions and 29 deletions
|
|
@ -8,7 +8,7 @@
|
|||
from metagpt.actions import Action
|
||||
from metagpt.const import PROMPT_PATH
|
||||
from metagpt.document_store.chromadb_store import ChromaStore
|
||||
from metagpt.llm import LLM
|
||||
import metagpt.llm as LLM
|
||||
from metagpt.logs import logger
|
||||
|
||||
Skill = Action
|
||||
|
|
@ -18,7 +18,7 @@ class SkillManager:
|
|||
"""用来管理所有技能"""
|
||||
|
||||
def __init__(self):
|
||||
self._llm = LLM()
|
||||
self._llm=LLM.DEFAULT_LLM
|
||||
self._store = ChromaStore('skill_manager')
|
||||
self._skills: dict[str: Skill] = {}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue