You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* adapted to openai assistant v2 api
* fix comments
* format code
* fix ci
* Update autogen/agentchat/contrib/gpt_assistant_agent.py
Co-authored-by: Eric Zhu <[email protected]>
---------
Co-authored-by: Eric Zhu <[email protected]>
- check_every_ms: check thread run status interval
51
51
- tools: Give Assistants access to OpenAI-hosted tools like Code Interpreter and Knowledge Retrieval,
52
52
or build your own tools using Function calling. ref https://platform.openai.com/docs/assistants/tools
53
-
- file_ids: files used by retrieval in run
53
+
- file_ids: (Deprecated) files used by retrieval in run. It is Deprecated, use tool_resources instead. https://platform.openai.com/docs/assistants/migration/what-has-changed.
54
+
- tool_resources: A set of resources that are used by the assistant's tools. The resources are specific to the type of tool.
54
55
overwrite_instructions (bool): whether to overwrite the instructions of an existing assistant. This parameter is in effect only when assistant_id is specified in llm_config.
55
56
overwrite_tools (bool): whether to overwrite the tools of an existing assistant. This parameter is in effect only when assistant_id is specified in llm_config.
56
57
kwargs (dict): Additional configuration options for the agent.
@@ -90,7 +91,6 @@ def __init__(
90
91
candidate_assistants,
91
92
instructions,
92
93
openai_assistant_cfg.get("tools", []),
93
-
openai_assistant_cfg.get("file_ids", []),
94
94
)
95
95
96
96
iflen(candidate_assistants) ==0:
@@ -101,12 +101,12 @@ def __init__(
101
101
"No instructions were provided for new assistant. Using default instructions from AssistantAgent.DEFAULT_SYSTEM_MESSAGE."
0 commit comments