GeneralAgent icon indicating copy to clipboard operation
GeneralAgent copied to clipboard

A simple, general, customizable Agent Framework

Results 9 GeneralAgent issues
Sort by recently updated
recently updated
newest added

official doc https://ai.google.dev/gemini-api/docs/get-started/tutorial?lang=python&hl=zh-cn and key for free

https://github.com/CosmosShadow/GeneralAgent/blob/34b2a5e7cbb53f67a87a3efed116267d11df6576/GeneralAgent/interpreter/python_interpreter.py#L147 这一行这判断和注释对不上,是否应该改成 ``` stop = self.agent.run_level == 1 ```

模块的导入时间大概有1.2s,每次程序运行的时候都有一个很明显的延迟,上面两次是 import general agent,后面两次是注释掉后的结果。 ```python import click import rich # from aicli.agent import agent @click.command() @click.argument("query", required=False) def cli(query): if not query: print(">>> :") query = input() # result =...

作者您好~我基于 GeneralAgent 开发了一个 AI CLI 工具:https://github.com/callmexss/aicli ,想基于 MIT 协议开源,看到项目描述里是基于 Apache 协议的,不知道能不能添加一个协议文件? https://github.com/CosmosShadow/GeneralAgent/blob/fab45fec6594bc6e52438ae15f0e7598b0f05052/pyproject.toml#L6 ![python-automate-aicli-ex1-zh](https://github.com/user-attachments/assets/5e8bf966-9f7a-4c41-9c85-4cfd40e4cbe5)

火山 doobao 在会话时。需要增加接入点的参数。参数名也叫 model,加不进去

def _get_llm_messages(self): # 获取记忆 + prompt messages = self.memory.get_messages() if self.disable_python_run: prompt = "\n\n".join( [ interpreter.prompt(messages) for interpreter in self.interpreters if interpreter.__class__ != PythonInterpreter ] ) else: prompt = "\n\n".join(...