Merge pull request #43 from zonghaoyuan/worktree-ai-sdk-migration

refactor(ai-client): unify OpenAI-compatible path to AI SDK generateText
This commit is contained in:
Zonghao Yuan
2026-06-07 12:04:47 +08:00
committed by GitHub
9 changed files with 39 additions and 258 deletions
-1
View File
@@ -55,7 +55,6 @@ export async function POST(req: Request) {
config.vision,
body.imageDataUrl,
STYLE_EXTRACTION_PROMPT,
{ responseFormat: "json_object" },
);
let parsed: { stylePrompt?: string };