mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2026-07-20 14:03:36 -04:00
generationConversationName接口怎么使用? #38
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @fycfyc123 on GitHub (Aug 1, 2024).
export const generationConversationName = async (id: string) => {
return post(
conversations/${id}/name, { body: { auto_generate: true } })}
这个是这个接口原本的样子,现在我想根据传递的name属性,去更改会话列表, 我在参数和body里面加了name,但是不好使啊,求助大佬 这是怎么回事啊
@iamjoel commented on GitHub (Aug 7, 2024):
The api don't support change conversation name by the specified name.
@lanizz commented on GitHub (Feb 24, 2025):
去掉auto_generate字段
@wenmin92 commented on GitHub (Apr 9, 2025):
这个接口没有自动生成名称,调用时,即使加上 auto_generate 和 user 也不行,返回的都是 New conversation,只能通过 name 来强行命名成指定名称?