mirror of
https://github.com/infinilabs/coco-app.git
synced 2025-12-16 11:37:47 +01:00
* refactor: do status code check before deserializing response This commit adds a status code check to the following requests, only when this check passes, we deserialize the response JSON body: - get_connectors_by_server - mcp_server_search - datasource_search A helper function `status_code_check(response, allowed_status_codes)` is added to make refactoring easier. * chore: release notes