Skip to content

Implement Featherless chat completions adapter#90

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

Implement Featherless chat completions adapter#90
ralyodio merged 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-featherless-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the broken Featherless stub with a real OpenAI-compatible chat completions adapter
  • use the documented https://api.featherless.ai/v1/chat/completions endpoint, documented example model IDs, dry-run behavior, standard generation options, and opts.extra passthrough for sampler parameters
  • send Featherless-requested HTTP-Referer and X-Title application headers
  • add focused tests for dry-run behavior, request payload/auth/attribution headers, token usage mapping, and HTTP error excerpts

References

Validation

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

@ralyodio ralyodio self-assigned this May 13, 2026
@ralyodio ralyodio merged commit 41f2a69 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