We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4238247 + fede95f commit 37bd375Copy full SHA for 37bd375
agents/agent_builder/create.py
@@ -8,6 +8,10 @@ def create_assistants():
8
agents_path = "agents"
9
client = get_openai_client()
10
11
+ agents_path = os.path.join(
12
+ Path(__file__).absolute().parent, agents_path
13
+ )
14
+
15
# Check if the 'agents' folder is empty or doesn't exist
16
if (
17
not os.path.exists(agents_path)
@@ -139,6 +143,6 @@ def create_assistants():
139
143
# Create the assistant using the uploaded file IDs if files exist
140
144
assistant = client.beta.assistants.create(**create_params)
141
145
print("***********************************************")
142
-n
146
147
if __name__ == '__main__':
148
create_assistants()
0 commit comments