Skip to content

feat(ai): integrate Together AI adapter#76

Closed
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-together-adapter
Closed

feat(ai): integrate Together AI adapter#76
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-together-adapter

Conversation

@Photon101

Copy link
Copy Markdown
Contributor

Summary

  • replace the Together AI stub with an OpenAI-compatible chat completions implementation
  • add current Together model IDs, dry-run behavior, usage-token mapping, and concise HTTP error messages
  • cover the request shape, dry-run short-circuit, and error handling with focused Vitest tests

This implements one of the AI provider adapters requested in #6.

Validation

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

Note: the repo's full workspace install currently fails before reaching this adapter because packages/dns/azure depends on @sh1pt/core@workspace:*, while the workspace package is named @profullstack/sh1pt-core. I validated this package with root dev tooling and a local link to packages/core instead of changing unrelated workspace metadata.

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