Skip to content

fix(chat): resolve Agent AJ latest podcast lookup and tool loop fallback - #736

Merged
codercatdev merged 1 commit into
devfrom
fix/agent-aj-latest-podcast
Oct 14, 2026
Merged

codercatdev merged 1 commit into
devfrom
fix/agent-aj-latest-podcast

Conversation

@codercatdev

Copy link
Copy Markdown
Contributor

Summary

  • Remove conflicting Sanity Context MCP tools (initial_context, schema_explorer, array_field_reader) and generic publishedAt GROQ instructions that caused @cf/meta/llama-3.1-8b-instruct to bypass get_recent_content.
  • Heal _type == 'episode' -> _type == 'podcast', publishedAt -> date, and single-object [0] slice results in groq_query.
  • Synthesize collected tool results if streamText reaches stopWhen without emitting final text tokens, preventing false 'could not find relevant content' responses.

@codercatdev
codercatdev merged commit 01db008 into dev Oct 14, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

⚡ Cloudflare Worker Preview Ready!

Environment URL
PR Preview https://e5b72345-codingcatdev-dev.codingcatdev.workers.dev
Dev Custom Domain https://dev.codingcat.dev
  • Worker Version ID: e5b72345-e007-4392-9bca-ff927eb9e11a
  • Protection: Restricted to @codingcat.dev accounts via Cloudflare Zero Trust Access

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant