Open fxconfig opened 10 months ago
大佬,我看你代码里面展示 chat history 好多地方,都因为有个 systemRole 顶在前面而不方便 有没有考虑 将 systemRole 从 messages 里面拿出来,单独用 参数名 prompt 放在 POST 的 body 里面发送啊, 这样 messages 看起来也没那么别扭
可以的,跟顶部UI更新一块弄。
大佬,我看你代码里面展示 chat history 好多地方,都因为有个 systemRole 顶在前面而不方便 有没有考虑 将 systemRole 从 messages 里面拿出来,单独用 参数名 prompt 放在 POST 的 body 里面发送啊, 这样 messages 看起来也没那么别扭