Model: chatgpt-4o
I receive the error ‘Sorry, something went wrong.’ when trying to run in a thread with messages that contain images while there are connected functions in the assistant.
This assistant works correctly until an image is sent in the thread. After sending, I start receiving the error ‘Sorry, something went wrong’ on any run execution.
If the functions are removed from the assistant (in the configuration), functionality is restored. The assistant works correctly with messages containing images."
Tried switching to different models. It doesn’t help.
Assistant model:
OpenAI\Responses\Assistants\AssistantResponse {#647
+id: "asst_xzOnVDQPncSjGAcVadiWlPTb"
+object: "assistant"
+createdAt: 1739263272
+name: "Test assistant"
+description: null
+model: "gpt-4o"
+instructions: ""
+tools: array:2 [
0 => OpenAI\Responses\Assistants\AssistantResponseToolFileSearch {#653
+type: "file_search"
}
1 => OpenAI\Responses\Assistants\AssistantResponseToolFunction {#648
+type: "function"
+function: OpenAI\Responses\Assistants\AssistantResponseToolFunctionFunction {#644
+description: "Determine weather in my location"
+name: "get_weather"
+parameters: array:4 [
"type" => "object"
"properties" => array:2 [
"location" => array:2 [
"type" => "string"
"description" => "The city and state e.g. San Francisco, CA"
]
"unit" => array:2 [
"type" => "string"
"enum" => array:2 [
0 => "c"
1 => "f"
]
]
]
"additionalProperties" => false
"required" => array:2 [
0 => "location"
1 => "unit"
]
]
}
}
]
+toolResources: OpenAI\Responses\Assistants\AssistantResponseToolResources {#652
+codeInterpreter: null
+fileSearch: OpenAI\Responses\Assistants\AssistantResponseToolResourceFileSearch {#655
+vectorStoreIds: []
}
}
+metadata: []
+temperature: 1.0
+topP: 1.0
+responseFormat: OpenAI\Responses\Assistants\AssistantResponseResponseFormat {#657
+type: "text"
}
-meta: OpenAI\Responses\Meta\MetaInformation {#654
+requestId: "req_fe9187dba581ffd64538e7926855e21d"
+openai: OpenAI\Responses\Meta\MetaInformationOpenAI {#643
+model: null
+organization: "mkomov"
+version: "2020-10-01"
+processingMs: 212
}
+requestLimit: null
+tokenLimit: null
}
}