Skip to content

Implement Venice chat completions adapter#89

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

Implement Venice chat completions adapter#89
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-venice-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the Venice AI stub with a real OpenAI-compatible chat completions adapter
  • use the current Venice /api/v1/chat/completions endpoint, documented model IDs, dry-run behavior, standard generation options, and opts.extra passthrough for Venice-specific parameters
  • add focused tests for dry-run behavior, request payload/auth, token usage mapping, and HTTP error excerpts

References

Validation

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

@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