lobe-chat
lobe-chat copied to clipboard
[Request] 添加openrouter api 的支持
🥰 需求描述
openrouter 上有很多免费或低价的model,我直接在lobe-chat用openrouter 的api时,
lobe-chat会同时发送两个request,一个给chatgpt 3.5 turbo,另一个发送我自定义的model.
🧐 解决方案
请添加 openrouter 的支持,避免使用自选模型时同时发送chatgpt 3.5 turbo的请求
📝 补充信息
No response
👀 @firsteyev
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible.
Please make sure you have given us as much context as possible.
非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。
同时发送chatgpt 3.5 turbo的请求
这个是自动做标题总结这些使用的调用。后续可以开个配置让用户来选吧
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Send chatgpt 3.5 turbo request at the same time
This is a call that automatically makes a title summarizing these uses. Later, you can open a configuration for users to choose.
https://github.com/lobehub/lobe-chat/wiki/Environment-Variable.zh-CN#custom_models 可以用这个重新映射一下 GPT-3.5 Turbo 模型
https://github.com/lobehub/lobe-chat/wiki/Environment-Variable.zh-CN#custom_models 可以用这个重新映射一下 GPT-3.5 Turbo 模型
我去掉了所有其它模型,只留了两个自选模型,但是lobe-chat仍然通过openrouter同时发给gpt3.5 turbo 一个request。
我明白了,大概是开启对话后,虽然对话可以使用自定义模型,但是lobe-chat默认使用 Gpt3.5 turbo 去总结对话的 标题,因此会发送一个gpt3.5 turbo 的request,而这个功能的模型名称不随用户的选择更改。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I understand, probably after opening the conversation, although the conversation can use a custom model, lobe-chat uses Gpt3.5 turbo by default to summarize the title of the conversation, so a gpt3.5 turbo request will be sent, and there is no way to do this function. Use a custom model instead.
我明白了,大概是开启对话后,虽然对话可以使用自定义模型,但是lobe-chat默认使用 Gpt3.5 turbo 去总结对话的 标题,因此会发送一个gpt3.5 turbo 的request,而这个功能的模型名称不随用户的选择更改。
对。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
I understand, probably after opening the conversation, although the conversation can use a custom model, lobe-chat uses Gpt3.5 turbo by default to summarize the title of the conversation, so a gpt3.5 turbo request will be sent, and this function The model name does not change with user selections.
right.
如果能选择总结对话标题时使用哪个模型就更好了。
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
It would be nice if you could choose which model to use when summarizing conversation titles.
@ShanySky 会支持的
✅ @firsteyev
This issue is closed, If you have any questions, you can comment and reply.
此问题已经关闭。如果您有任何问题,可以留言并回复。
:tada: This issue has been resolved in version 0.139.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket: