Skip to content

Implement OpenAI-compatible generation for remaining AI stubs #450

@ifanatics-media

Description

@ifanatics-media

Several AI adapter packages still return stub placeholder text even though the providers expose OpenAI-compatible chat-completions APIs:

  • packages/ai/kimi
  • packages/ai/cohere
  • packages/ai/novita
  • packages/ai/venice
  • packages/ai/parasail

Current behavior means generate() succeeds with [stub ... integration not yet implemented] instead of calling the provider, so users can configure API keys and still get fake output.

Expected behavior:

  • use each provider's documented OpenAI-compatible chat-completions endpoint
  • preserve dry-run behavior
  • forward system/user messages, maxTokens, temperature, and opts.extra
  • map choices[0].message.content, response model, and token usage
  • cover request shape and error handling in tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions