提供原生的模型能力查询接口

Problem

sdk现在没有找到查询模型列表的api,需要自己起子进程跑qodercli --list-models来查询。

Solution

sdk直接暴露接口出来供调用。类似:

import { listModels } from '@qoder-ai/qoder-agent-sdk'
const models = await listModels({ auth: qodercliAuth() })
// → [{ id: 'Auto', label: 'Auto', ... }, ...]

Use Case

用户基于qoder sdk搭建智能体时,可以自由切换模型。

Priority

  • :red_circle: High - Blocking issue
  • :yellow_circle: Medium - Important improvement
  • :green_circle: Low - Nice to have

Additional Info

(Optional: screenshots, examples, links)