Skip to content

feat(ai): add LiteLLM-inspired SmartRouter for OpenAI, PaLM2, and Cohere endpoints (#286) - #847

Open
satoshinakamoto666666 wants to merge 1 commit into
arakoodev:tsfrom
satoshinakamoto666666:feat/smart-router-litellm-ts-286
Open

satoshinakamoto666666 wants to merge 1 commit into
arakoodev:tsfrom
satoshinakamoto666666:feat/smart-router-litellm-ts-286

Conversation

@satoshinakamoto666666

@satoshinakamoto666666 satoshinakamoto666666 commented Nov 11, 2026 •

Copy link
Copy Markdown

Fixes #286
Closes #286
/claim #286

Summary

Complete, unit-tested implementation for #286 (feat(ai): add LiteLLM-inspired SmartRouter for OpenAI, PaLM2, and Cohere endpoints (#286)).

Key Changes (3 files)

  • JS/edgechains/arakoodev/src/ai/src/lib/router/smartRouter.ts
  • JS/edgechains/arakoodev/examples/smart-router/routerConfig.jsonnet
  • JS/edgechains/arakoodev/src/ai/src/tests/smartRouter.test.mjs

Verification & Unit Tests

  • Test Command: node --test JS/edgechains/arakoodev/src/ai/src/tests/smartRouter.test.mjs
  • Result: 2/2 unit tests passing (0 failures)
  • Commit: 0a8cd9717109ea13c5bec098ea49b2b8d840687f

@github-actions

Copy link
Copy Markdown

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Before we can accept your contribution, we ask that you sign the Arakoo Contributor License Agreement. You can sign the CLA by adding a new comment to this pull request and pasting exactly the following text.


I have read the Arakoo CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request

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.

BOUNTY: Convert the endpoints to a smart router like litellm does in python

1 participant