Giter Club home page Giter Club logo

Comments (5)

wfce avatar wfce commented on July 20, 2024 1

支持,现在新版nextchat已经全部走/v1/messages了 自定义也是

from one-api.

QAbot-zh avatar QAbot-zh commented on July 20, 2024

one-api 的初衷就是早期第三方客户端都只适配了OpenAI的格式,使用one-api来方便大家进行格式统一,节省开发时间和调用难度。如果不需要OpenAI格式,只是聚合中转,那遇到不支持特定格式的客户端也会有困扰。

不过你的解决方案有道理,就是有一定的工作量,没有pr的话就得看群主评判优先级了。

from one-api.

songquanpeng avatar songquanpeng commented on July 20, 2024

会处理,需要时间,期待pr

from one-api.

ye4293 avatar ye4293 commented on July 20, 2024

这个的意思就是,不但兼容成openai的渠道,同时也保留源路径的请求信息把

from one-api.

bbb3n avatar bbb3n commented on July 20, 2024

这个的意思就是,不但兼容成openai的渠道,同时也保留源路径的请求信息把

bingo

我个人认为这样既能满足 songquanpeng 大佬最开始的口号,也能满足市面上第三方客户端的正常调用
两全其美,何乐而不为
不过个人代码水平有限,所以不敢pr,期待哪位大佬拨冗适配一下

from one-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.