Skip to content

Route Workers AI helpers through llm-providers#63

Merged
stackbilt-admin merged 1 commit into
mainfrom
fix/issue-24-workers-ai-helper-providers
Jun 2, 2026
Merged

Route Workers AI helpers through llm-providers#63
stackbilt-admin merged 1 commit into
mainfrom
fix/issue-24-workers-ai-helper-providers

Conversation

@stackbilt-admin
Copy link
Copy Markdown
Member

Summary

  • routes router Workers AI classification through createLLMProviderFactory({ cloudflare })
  • routes conversation-facts and dreaming Workers AI fallbacks through buildLLMProviderFactory(env)
  • routes social engagement reply generation through the Cloudflare provider
  • switches router fallback classification to a Workers AI model supported by llm-providers

Refs #24. This removes the remaining small raw Workers AI helper calls outside composite/legacy utility code.

Validation

  • npm run typecheck
  • npx vitest run tests/router.test.ts tests/scheduled.test.ts tests/dreaming.test.ts
  • npm test
  • npx charter validate
  • git -c core.whitespace=blank-at-eol,blank-at-eof,space-before-tab,cr-at-eol diff --check
  • npm pack --dry-run

@stackbilt-admin stackbilt-admin merged commit fac382a into main Jun 2, 2026
2 checks passed
@stackbilt-admin stackbilt-admin deleted the fix/issue-24-workers-ai-helper-providers branch June 2, 2026 15:22
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