fixes: dead /contact link + remove paid-AI fallbacks from hybridRouter

- /manufacturers footer "Contact our editors" linked to /contact which
  doesn't exist → 404. Swapped to mailto:editors@broadcastbeat.com.
- hybridAI() was falling through to api.anthropic.com whenever Ollama
  failed, which logs were tripping on after my earlier no-paid-AI swap
  (Article suggestions error: ANTHROPIC_API_KEY not configured).
  Removed both Anthropic call-paths in hybridAI + hybridAIStream.
  hybridAI now retries Ollama with 0/3/12s backoff and throws a clear
  error after exhaustion — callers (article-suggestions) already have
  graceful non-AI fallbacks.
This commit is contained in:
Ryan Salazar
2026-05-27 18:46:10 +00:00
parent 346868fea3
commit 6e3a93f90d
2 changed files with 20 additions and 67 deletions

View File

@@ -82,9 +82,9 @@ export default async function ManufacturersIndex() {
</p>
<p className="mt-2">
Are you a manufacturer and want to update your listing?{" "}
<Link href="/contact" className="text-[#3b82f6] hover:underline">
<a href="mailto:editors@broadcastbeat.com?subject=Manufacturer%20Directory%20Update" className="text-[#3b82f6] hover:underline">
Contact our editors
</Link>
</a>
.
</p>
</section>