Skip to content

Implement Inception chat completions adapter#110

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

Implement Inception chat completions adapter#110
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-inception-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • Replace the Inception BYOK stub with a real Mercury 2 chat completions adapter
  • Use INCEPTION_API_KEY, the documented Inception v1 chat endpoint, dry-run short-circuiting, usage token mapping, and response body excerpts on HTTP errors
  • Add focused tests for dry-run, request payloads, base URL override, token mapping, and errors

Validation

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

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.

1 participant