Closed darvsum closed 3 months ago
API-FOR-OPEN-LLM当前支持autogen单个agent使用,但是多个agent调用时报错。 报错信息如下: user_proxy (to chat_manager):
find a lastest paper about gpt-4 on arxiv and find its potential applications in software.
Traceback (most recent call last):
File "/tools/codes/test-autogen02/react_demo4.py", line 697, in
这是调用模型时的请求:
2023-12-01 09:05:37.232 | DEBUG | api.routes.chat:create_chat_completion:46 - ==== request ====
{'model': 'Qwen-14B-Chat', 'frequency_penalty': 0.0, 'function_call': None, 'functions': None, 'logit_bias': None, 'max_tokens': 1024, 'n': 1, 'presence_penalty': 0.0, 'response_format': None, 'seed': None, 'stop': ['<|endoftext|>', '<|im_end|>'], 'temperature': 0.0, 'tool_choice': None, 'tools': None, 'top_p': 1.0, 'user': None, 'stream': False, 'prompt_or_messages': [{'content': 'You are in a role play game. The following roles are available:\nuser_proxy: a human admin.\ncoder: You are a helpful AI assistant.\nSolve tasks using your coding and language skills.\nIn the following cases, suggest python code (in a python coding block) or shell script (in a sh coding block) for the user to execute.\n 1. When you need to collect info, use the code to output the info you need, for example, browse or search the web, download/read a file, print the content of a webpage or a file, get the current date/time, check the operating system. After sufficient info is printed and the task is ready to be solved based on your language skill, you can solve the task by yourself.\n 2. When you need to perform some task with code, use the code to perform the task and output the result. Finish the task smartly.\nSolve the task step by step if you need to. If a plan is not provided, explain your plan first. Be clear which step uses code, and which step uses your language skill.\nWhen using code, you must indicate the script type in the code block. The user cannot provide any other feedback or perform any other action beyond executing the code you suggest. The user can\'t modify your code. So do not suggest incomplete code which requires users to modify. Don\'t use a code block if it\'s not intended to be executed by the user.\nIf you want the user to save the code in a file before executing it, put # filename:
起始日期 | Start Date
No response
实现PR | Implementation PR
No response
相关Issues | Reference Issues
No response
摘要 | Summary
希望能支持autogen直接调用api-for-open-llm的api接口。
基本示例 | Basic Example
希望能支持autogen
缺陷 | Drawbacks
无
未解决问题 | Unresolved questions
No response