1) Do some rename refactor ,prepare for LLMProcess refactor

2) Fix merge bugs.
This commit is contained in:
Liu Zhicong
2023-12-06 13:31:05 -08:00
parent 35d204ac05
commit 8739bf6a76
44 changed files with 693 additions and 2043 deletions
+2 -2
View File
@@ -218,7 +218,7 @@ class IssueAgent(CustomAIAgent):
super().__init__(agent_id, llm_model_name, max_token_size)
class IssueParserEnvironment(Environment):
class IssueParserEnvironment(SimpleEnvironment):
def __init__(self, env_id: str, storage: IssueStorage) -> None:
super().__init__(env_id)
self.storage = storage
@@ -305,7 +305,7 @@ class IssueParser:
mail_desc = Mail.prompt_desc()
issue_desc = Issue.prompt_desc()
prompt = AgentPrompt()
prompt = LLMPrompt()
prompt.system_message = {"role": "system", "content": f'''
I'm a CEO of a company named 巴克云; You'ar my assistant, and you should help me to manage my issues. Issues is a concept in software development of this company, but I use it to manage my work.
I'll give you a mail in json format, {mail_desc};