Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
新特性
[] 支持星火maas平台微调后模型部署的API, 欢迎使用
[] Meta信息添加支持 LoraID,用户可以通过OpenAI的客户端或者 Httpclient设置 extra body: lora_id: <your_lora_id> 来访问lora小包模型
[] 响应设置 random.uuid 替换为讯飞返回SID
[] 讯飞响应报错返回讯飞Code信息
我已确认该 PR 已自测通过,相关截图如下:
使用方法:
2. 使用Lora_ID
3. 响应设置讯飞sid
其中Lora_ID ,我有想考虑放到平台配置上, 不过这样得改动web~