Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
@@ -540,7 +540,7 @@ def wait_on_run(run, thread, client):
|
|
540 |
|
541 |
########################################
|
542 |
#Assistant für Websuche anlgen
|
543 |
-
def openai_assistant_suche(client
|
544 |
assistant = client.beta.assistants.create(
|
545 |
instructions=template,
|
546 |
model="gpt-4-1106-preview",
|
@@ -552,7 +552,7 @@ def openai_assistant_suche(client, prpmpt):
|
|
552 |
"parameters": {
|
553 |
"type": "object",
|
554 |
"properties": {
|
555 |
-
"query": {"type": "string", "description":
|
556 |
},
|
557 |
"required": ["query"]
|
558 |
}
|
|
|
540 |
|
541 |
########################################
|
542 |
#Assistant für Websuche anlgen
|
543 |
+
def openai_assistant_suche(client):
|
544 |
assistant = client.beta.assistants.create(
|
545 |
instructions=template,
|
546 |
model="gpt-4-1106-preview",
|
|
|
552 |
"parameters": {
|
553 |
"type": "object",
|
554 |
"properties": {
|
555 |
+
"query": {"type": "string", "description": ""},
|
556 |
},
|
557 |
"required": ["query"]
|
558 |
}
|