Skip to content

Implement StepFun chat completions adapter#96

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

Implement StepFun chat completions adapter#96
Photon101 wants to merge 1 commit into
profullstack:masterfrom
Photon101:photon101/ai-stepfun-chat-completions

Conversation

@Photon101
Copy link
Copy Markdown
Contributor

Summary

  • replace the StepFun stub with the documented OpenAI-compatible chat completions API
  • update defaults to the current recommended step-3.5-flash model family and keep older text models available
  • add dry-run behavior, standard generation options, opts.extra passthrough for StepFun fields such as reasoning_format, usage mapping, and concise HTTP error handling

Docs used:

Validation

  • corepack pnpm exec vitest run packages/ai/stepfun/src/index.test.ts
  • corepack pnpm exec tsc -p packages/ai/stepfun/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