取消统一转发Dify请求,改为由客户端直接发送
This commit is contained in:
@@ -7,6 +7,8 @@ import chatInputStyles from "~/styles/components/chat-with-llm/chat-input.css?ur
|
||||
import chatSidebarStyles from "~/styles/components/chat-with-llm/sidebar.css?url";
|
||||
import chatThoughtProcessStyles from "~/styles/components/chat-with-llm/thought-process.css?url";
|
||||
import chatMarkdownStyles from "~/styles/components/chat-with-llm/markdown.css?url";
|
||||
// 导入测试文件用于调试
|
||||
import "~/utils/dify-test.client";
|
||||
|
||||
export function links() {
|
||||
return [
|
||||
@@ -32,6 +34,11 @@ export const meta: MetaFunction = () => {
|
||||
/**
|
||||
* 聊天主页面
|
||||
* 实现单页面应用模式,所有会话切换都在同一页面内完成
|
||||
*
|
||||
* 调试说明:
|
||||
* - 打开浏览器开发者工具的控制台
|
||||
* - 输入 window.testDify() 可以测试Dify API连接
|
||||
* - 查看网络选项卡可以监控API请求
|
||||
*/
|
||||
export default function ChatWithLLMIndex() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user