From 8ea3b53613527db69b9d9f302c61b329b6170a4d Mon Sep 17 00:00:00 2001 From: Cristiano Hoshikawa Date: Fri, 13 Feb 2026 00:05:55 -0300 Subject: [PATCH] adjustments --- oci_openapi_proxy.py | 14 ++++++++++++-- openclaw.json | 4 ++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/oci_openapi_proxy.py b/oci_openapi_proxy.py index 91d34df..60ba877 100644 --- a/oci_openapi_proxy.py +++ b/oci_openapi_proxy.py @@ -269,7 +269,12 @@ async def chat_completions(request: Request): if body.get("stream"): return StreamingResponse( fake_stream(text, body["model"]), - media_type="text/event-stream" + media_type="text/event-stream", + headers={ + "Cache-Control": "no-cache", + "Connection": "keep-alive", + "X-Accel-Buffering": "no" + } ) return build_openai_response(body["model"], text) @@ -309,7 +314,12 @@ async def responses_passthrough(request: Request): if body.get("stream"): return StreamingResponse( fake_stream(text, body["model"]), - media_type="text/event-stream" + media_type="text/event-stream", + headers={ + "Cache-Control": "no-cache", + "Connection": "keep-alive", + "X-Accel-Buffering": "no" + } ) return build_openai_response(body["model"], text) diff --git a/openclaw.json b/openclaw.json index e7fb7db..fe06491 100644 --- a/openclaw.json +++ b/openclaw.json @@ -40,8 +40,8 @@ "ackReactionScope": "group-mentions" }, "commands": { - "native": "auto", - "nativeSkills": "auto" + "native": "off", + "nativeSkills": "off" }, "gateway": { "port": 18789,