Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@amux.ai/adapter-qwen

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amux.ai/adapter-qwen

Qwen adapter for Amux

latest
Source
npmnpm
Version
0.1.4
Version published
Weekly downloads
4
-63.64%
Maintainers
1
Weekly downloads
 
Created
Source

@amux.ai/adapter-qwen

Qwen (Tongyi Qianwen) adapter for Amux

npm version License: MIT

Overview

Official Qwen (Tongyi Qianwen) adapter for Amux. Qwen API is OpenAI-compatible, so this adapter extends the OpenAI adapter with Qwen-specific configurations.

Installation

pnpm add @amux.ai/llm-bridge @amux.ai/adapter-qwen
# or
npm install @amux.ai/llm-bridge @amux.ai/adapter-qwen

Usage

As Inbound Adapter

import { createBridge } from '@amux.ai/llm-bridge'
import { qwenAdapter } from '@amux.ai/adapter-qwen'
import { openaiAdapter } from '@amux.ai/adapter-openai'

const bridge = createBridge({
  inbound: qwenAdapter,
  outbound: openaiAdapter,
  config: {
    apiKey: process.env.OPENAI_API_KEY
  }
})

As Outbound Adapter

import { createBridge } from '@amux.ai/llm-bridge'
import { openaiAdapter } from '@amux.ai/adapter-openai'
import { qwenAdapter } from '@amux.ai/adapter-qwen'

const bridge = createBridge({
  inbound: openaiAdapter,
  outbound: qwenAdapter,
  config: {
    apiKey: process.env.QWEN_API_KEY
  }
})

const response = await bridge.chat({
  model: 'gpt-4',
  messages: [{ role: 'user', content: 'Hello!' }]
})

Supported Features

  • ✅ Chat completions
  • ✅ Streaming
  • ✅ Function/Tool calling
  • ✅ Vision (image inputs)
  • ✅ System prompts

Supported Models

  • qwen-turbo
  • qwen-plus
  • qwen-max
  • qwen-vl-plus
  • qwen-vl-max

API Compatibility

Qwen API is OpenAI-compatible. For detailed API documentation, see Qwen API Documentation.

License

MIT © isboyjc

Keywords

amux

FAQs

Package last updated on 04 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts