fix: polish ai provider rebuild feedback

This commit is contained in:
linkong
2026-04-09 16:52:21 +08:00
parent 306ba7f850
commit abe0b5c11b
8 changed files with 59 additions and 13 deletions

View File

@@ -319,7 +319,6 @@ class ProviderService:
)
)
return blocks
def _extract_anthropic_content(self, payload: dict[str, Any]) -> str:
content = payload.get("content")
if isinstance(content, str):
@@ -359,6 +358,7 @@ class ProviderService:
)
return blocks
def _extract_ollama_content(self, payload: dict[str, Any]) -> str:
response = payload.get("response")
if isinstance(response, str):