Token based authentication
This commit is contained in:
1 parent
9a8e68f021
commit
5bbdfe8747
7 files changed
+121
-77
No files matched your search
+3
-2
@@ -56,8 +56,6 @@ class Agent:
|
||||
])
|
||||
self.toolset_map = {}
|
||||
|
||||
print("tool prompt section", self.tool_prompt_section)
|
||||
|
||||
self.add_toolset(SpecialToolset())
|
||||
self.add_toolset(BasicToolset())
|
||||
|
||||
@@ -172,6 +170,9 @@ class Agent:
|
||||
|
||||
async def gral_message(self, message_history: list, file_map: dict):
|
||||
return await gral.gral_message(self.app, self.config['system_prompt'], message_history, file_map)
|
||||
|
||||
async def gral_update_file(self, message_history: list, filepath: str, file_content: str):
|
||||
return await gral.gral_update_file(self.app, self.config['system_prompt'], message_history, filepath, file_content)
|
||||
|
||||
|
||||
class IntroAgent(Agent):
|
||||
|
||||
Reference in new issue
Block a user