Skip to content

Implement Nebius chat completions adapter#87

Merged
ralyodio merged 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-nebius-chat-completions
May 13, 2026
Merged

Implement Nebius chat completions adapter#87
ralyodio merged 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-nebius-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the Nebius AI stub with the documented Token Factory /v1/chat/completions integration
  • use the current Token Factory API base and preserve the existing Llama 3.3 default model
  • send system/user messages, max token and temperature options, plus provider-specific extra fields
  • normalize assistant-message and text-style choices plus prompt/completion token usage
  • expand tests from smoke-only to dry-run, request-shape, text-choice fallback, usage mapping, and error coverage

Validation

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

Reference

@ralyodio ralyodio self-assigned this May 13, 2026
@ralyodio ralyodio merged commit 60c7dc5 into profullstack:master May 13, 2026
2 checks passed
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