feat: add OpenAI support with OAuth and environment configuration

This commit is contained in:
X-iZhang
2026-03-16 00:25:19 +00:00
parent ab709d4ec0
commit 62fe970476
10 changed files with 376 additions and 28 deletions
+6 -1
View File
@@ -591,7 +591,12 @@ def _process_chunk_content(
if isinstance(content, str):
if content:
yield emitter.text(content)
# Strip ccproxy <thinking>...</thinking> tags from content
from ..llm.models import strip_thinking_tags
cleaned = strip_thinking_tags(content)
if cleaned:
yield emitter.text(cleaned)
return
blocks = None