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:
@@ -55,7 +55,6 @@ export async function POST(req: Request) {
|
||||
config.vision,
|
||||
body.imageDataUrl,
|
||||
STYLE_EXTRACTION_PROMPT,
|
||||
{ responseFormat: "json_object" },
|
||||
);
|
||||
|
||||
let parsed: { stylePrompt?: string };
|
||||
|
||||
Reference in New Issue
Block a user