@@ -3584,6 +3584,8 @@ void server_routes::init_routes() {
35843584 auto res = create_response ();
35853585 std::vector<raw_buffer> files;
35863586 json body = convert_responses_to_chatcmpl (json::parse (req.body ));
3587+ SRV_DBG (" %s\n " , " Request converted: OpenAI Responses -> OpenAI Chat Completions" );
3588+ SRV_DBG (" converted request: %s\n " , body.dump ().c_str ());
35873589 json body_parsed = oaicompat_chat_params_parse (
35883590 body,
35893591 meta->chat_params ,
@@ -3600,6 +3602,8 @@ void server_routes::init_routes() {
36003602 auto res = create_response ();
36013603 std::vector<raw_buffer> files;
36023604 json body = convert_anthropic_to_oai (json::parse (req.body ));
3605+ SRV_DBG (" %s\n " , " Request converted: Anthropic -> OpenAI Chat Completions" );
3606+ SRV_DBG (" converted request: %s\n " , body.dump ().c_str ());
36033607 json body_parsed = oaicompat_chat_params_parse (
36043608 body,
36053609 meta->chat_params ,
@@ -3616,6 +3620,8 @@ void server_routes::init_routes() {
36163620 auto res = create_response ();
36173621 std::vector<raw_buffer> files;
36183622 json body = convert_anthropic_to_oai (json::parse (req.body ));
3623+ SRV_DBG (" %s\n " , " Request converted: Anthropic -> OpenAI Chat Completions" );
3624+ SRV_DBG (" converted request: %s\n " , body.dump ().c_str ());
36193625 json body_parsed = oaicompat_chat_params_parse (
36203626 body,
36213627 meta->chat_params ,
0 commit comments