Improve search

This commit is contained in:
2026-03-02 02:26:25 +00:00
parent a9f5f3f75d
commit b94219fc5b
20 changed files with 1626 additions and 314 deletions

View File

@@ -3406,6 +3406,7 @@ class ComposeDrafts(LoginRequiredMixin, View):
transcript=transcript,
),
ai_obj,
operation="compose_drafts",
)
parsed = _parse_draft_options(result)
if parsed:
@@ -3478,6 +3479,7 @@ class ComposeSummary(LoginRequiredMixin, View):
transcript=transcript,
),
ai_obj,
operation="compose_summary",
)
except Exception as exc:
return JsonResponse({"ok": False, "error": str(exc)})
@@ -3692,6 +3694,7 @@ class ComposeEngagePreview(LoginRequiredMixin, View):
generated = async_to_sync(ai_runner.run_prompt)(
_build_engage_prompt(owner_name, recipient_name, transcript),
ai_obj,
operation="compose_engage",
)
outbound = _plain_text(generated)
except Exception: