Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ericc-ch/copilot-api
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: yangyuw/copilot-api
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 18 files changed
  • 1 contributor

Commits on Apr 24, 2026

  1. feat(server): 添加对Lingma提供商的支持并重构聊天完成服务

    - 添加新的Provider类型定义,支持copilot和lingma两种提供商
    - 实现Lingma提供商的连接、初始化和聊天完成功能
    - 重构createChatCompletions服务以支持多提供商架构
    - 在start命令中添加provider参数和相关配置选项
    - 为Lingma提供商实现模型缓存和配置解析功能
    - 添加APIError类用于更精确的错误处理
    - 在各个路由中添加提供商特定的功能限制检查
    - 实现Lingma聊天完成的验证和渲染逻辑
    - 更新状态管理以支持新的提供商模式
    202226442 committed Apr 24, 2026
    Configuration menu
    Copy the full SHA
    fd84ee2 View commit details
    Browse the repository at this point in the history
Loading