So out of the blue, my assistants stopped calling any functions. I got it to work in the past, but since last Friday the run never goes into ‘requires_action’ state anymore.
The model just spews out “I don’t have live access to that data” kind of responses without ever aknowledging the functions at his disposal. I set up multiple breakpoints to monitor the runs, and it just goes from in_progress to completed every time.
Here is my assistant config:
{
"id": "asst_XXX",
"object": "assistant",
"created_at": 1700571681,
"name": "Dinis Nogueira v2",
"description": null,
"model": "gpt-4-1106-preview",
"instructions": "Your job is to use the functions at your disposable to search internal inventa platfroms, and be a helpful assistant at an Intellectual Propery consultant firm.",
"tools": [
{
"type": "code_interpreter"
},
{
"type": "function",
"function": {
"name": "query_instruction_db",
"description": "Searches the Elasticsearch index for client instructions based on a text query",
"parameters": {
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The text query for searching client instructions"
}
},
"required": [
"query"
]
}
}
},
{
"type": "function",
"function": {
"name": "get_stock_price",
"description": "Get the current stock price",
"parameters": {
"type": "object",
"properties": {
"symbol": {
"type": "string",
"description": "The stock symbol"
}
},
"required": [
"symbol"
]
}
}
}
],
"file_ids": [
"file-XX"
],
"metadata": {}
}
This happens even with the example function get_stock_price, as well with my own functions. Anyone else seeing an issue with this funcionality? Am I doing something wrong?
Any help would be greatly appreciated.