feat: refactor frontend and fix LLM extraction
- Fix critical await bug in extract-stream endpoint - Add comprehensive logging to LLM and parser modules - Implement fallback to standard completion for incompatible models - Create enhanced v2.0 prompts with social media handling and few-shot examples - Add LLM health check endpoint - Decompose share page into 6 focused Svelte 5 snippets Resolves LM Studio integration issues and improves code maintainability
This commit is contained in:
@@ -40,7 +40,7 @@ export const POST: RequestHandler = async ({ request }) => {
|
||||
timestamp: new Date().toISOString()
|
||||
});
|
||||
|
||||
const recipe = extractRecipe(extracted.bodyText);
|
||||
const recipe = await extractRecipe(extracted.bodyText);
|
||||
|
||||
// Send final result
|
||||
const completeEvent: ProgressEvent = {
|
||||
|
||||
Reference in New Issue
Block a user