lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

feat(provider): add AI/ML API integration via AI SDK

Open D1m7asis opened this issue 4 months ago • 0 comments

This PR introduces AI/ML API as a provider integration via the AI SDK.

From https://github.com/lingodotdev/lingo.dev/issues/1154

✅ Features:

  • Added provider configuration for AI/ML API
  • Verified compatibility with spec v1 models (chat/completions)
  • Tested with deepseek/deepseek-chat and openai/gpt-4o as default model

🖼️ Demo: Screenshot


Usage example:

export default lingoCompiler.next({
  sourceLocale: 'en',
  targetLocales: ['ja-JP'],
  models: {
    '*:*': 'aimlapi:openai/gpt-4o',
  },
})(baseConfig);

Checklist

  • [x] Added provider implementation
  • [x] Verified integration with AI SDK
  • [x] Provided screenshot of working example

D1m7asis avatar Sep 08 '25 18:09 D1m7asis