Skip to content

Implement Reka chat completions adapter#88

Open
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-reka-chat-completions
Open

Implement Reka chat completions adapter#88
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-reka-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the Reka AI stub with the documented /v1/chat/completions integration
  • update the default model from stale reka-core to publicly documented reka-flash, with reka-edge aliases listed
  • send system/user messages, max token and temperature options, plus provider-specific extra fields
  • normalize assistant text and Reka input/output token usage
  • expand tests from smoke-only to dry-run, request-shape, configured-base, usage mapping, and error coverage

Validation

  • corepack pnpm exec vitest run packages/ai/reka/src/index.test.ts
  • corepack pnpm exec tsc -p packages/ai/reka/tsconfig.json --noEmit
  • git diff --check

Reference

@ralyodio ralyodio self-assigned this May 13, 2026
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.

2 participants