@@ -36,7 +36,7 @@ public function __construct(array $config = [])
3636 'retries ' => 3 ,
3737 'verify_ssl ' => true ,
3838 'default_headers ' => [
39- 'User-Agent ' => 'langgraph-platform -php/1.0 ' ,
39+ 'User-Agent ' => 'langgraph-client -php/1.0 ' ,
4040 'Accept ' => 'application/json ' ,
4141 'Content-Type ' => 'application/json ' ,
4242 ],
@@ -59,7 +59,7 @@ private function createClient(): GuzzleClient
5959 ));
6060
6161 return new GuzzleClient ([
62- 'base_uri ' => rtrim ($ this ->config ['base_url ' ], '/ ' ). '/ ' ,
62+ 'base_uri ' => rtrim ($ this ->config ['base_url ' ], '/ ' ) . '/ ' ,
6363 'timeout ' => $ this ->config ['timeout ' ],
6464 'connect_timeout ' => $ this ->config ['connect_timeout ' ],
6565 'verify ' => $ this ->config ['verify_ssl ' ],
@@ -323,7 +323,7 @@ private function parseResponse(ResponseInterface $response): array
323323
324324 if (json_last_error () !== JSON_ERROR_NONE ) {
325325 throw new LangGraphException (
326- 'Failed to decode JSON response: ' . json_last_error_msg (),
326+ 'Failed to decode JSON response: ' . json_last_error_msg (),
327327 $ response ->getStatusCode (),
328328 null ,
329329 $ response
0 commit comments