Chatgpt stop replying aftet add vector store

Hello, after 5 hours fail work i am come here to ask help. Here my first codding practice :smiley:
I am using php, codeigniter 3 and everything worked untill i am add wector store id, then assistant not replying after i send msg. Who can help me and tell me problem? I am creating assistant in openai api platform, then upload txt document and take vs id and all information paste in code.
Here my code :

<?php defined('BASEPATH') OR exit('No direct script access allowed'); class ChatbotController extends CI_Controller { public function index() { $this->load->view('chat_view'); } public function send_message() { $api_key = 'YOUR_API_KEY'; $model = 'gpt-3.5-turbo'; $assistant_id = 'YOUR_ASSISTANT_ID'; $vector_store_id = 'YOUR_VECTOR_STORE_ID'; $message = $this->input->post('message'); $url = 'https://api.openai.com/v1/chat/completions?include=step_details.tool_calls[*].file_search.results[*].content'; $data = array( 'model' => $model, 'messages' => [ ['role' => 'system', 'content' => 'You are an assistant who helps users with specific knowledge from uploaded documents.'], ['role' => 'user', 'content' => $message] ], 'tool_resources' => [ 'vector_store_ids' => [$vector_store_id] ], 'tools' => ['file_search'], file_search 'max_tokens' => 500 ); $headers = array( 'Content-Type: application/json', 'Authorization: Bearer ' . $api_key, 'OpenAI-Beta: assistants=v2' ); $curl = curl_init($url); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); $response = curl_exec($curl); $http_code = curl_getinfo($curl, CURLINFO_HTTP_CODE); $curl_error = curl_error($curl); curl_close($curl); if ($http_code != 200) { echo "HTTP Status Code: " . $http_code . " - cURL Error: " . $curl_error . " - API Response: " . $response; } else { if (empty($response)) { echo "API Response: empty"; } else { $decoded_response = json_decode($response, true); echo "Decoded API Response: "; var_dump($decoded_response); echo $response; } } } } ?>