|  | @ -34,7 +34,7 @@ const sessionId = ref(localStorage.getItem('sessionId') || {}); | 
		
	
		
			
				|  |  | const add = async () => { |  |  | const add = async () => { | 
		
	
		
			
				|  |  |     try { |  |  |     try { | 
		
	
		
			
				|  |  |         const result = await axios.post( |  |  |         const result = await axios.post( | 
		
	
		
			
				|  |  |             "http://t3zf7v.natappfree.cc/api/v1/chats/8b37cd9cf0c811efa4210242ac120003/completions", |  |  |  | 
		
	
		
			
				|  |  |  |  |  |             "http://9zebk6.natappfree.cc/api/v1/chats/8b37cd9cf0c811efa4210242ac120003/completions", | 
		
	
		
			
				|  |  |             {}, |  |  |             {}, | 
		
	
		
			
				|  |  |             { |  |  |             { | 
		
	
		
			
				|  |  |                 headers: { |  |  |                 headers: { | 
		
	
	
		
			
				|  | @ -134,12 +134,13 @@ const sendMessage = async () => { | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |     try { |  |  |     try { | 
		
	
		
			
				|  |  |         // 调用API获取回复 |  |  |         // 调用API获取回复 | 
		
	
		
			
				|  |  |         const response = await fetch("http://t3zf7v.natappfree.cc/api/v1/chats/8b37cd9cf0c811efa4210242ac120003/completions", { |  |  |  | 
		
	
		
			
				|  |  |  |  |  |         const response = await fetch("http://9zebk6.natappfree.cc/api/v1/chats/8b37cd9cf0c811efa4210242ac120003/completions", { | 
		
	
		
			
				|  |  |             method: 'POST', |  |  |             method: 'POST', | 
		
	
		
			
				|  |  |             headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ragflow-hkNjEwYjcwZjBlMDExZWZiYjYzMDI0Mm' }, |  |  |             headers: { 'Content-Type': 'application/json', Authorization: 'Bearer ragflow-hkNjEwYjcwZjBlMDExZWZiYjYzMDI0Mm' }, | 
		
	
		
			
				|  |  |             body: JSON.stringify({ question: content, stream: false, session_id: sessionId.value   }) |  |  |             body: JSON.stringify({ question: content, stream: false, session_id: sessionId.value   }) | 
		
	
		
			
				|  |  |         }) |  |  |         }) | 
		
	
		
			
				|  |  |         const data = await response.json() |  |  |         const data = await response.json() | 
		
	
		
			
				|  |  |  |  |  |         console.log(data, 'data211111'); | 
		
	
		
			
				|  |  | 
 |  |  | 
 | 
		
	
		
			
				|  |  |         // 移除加载消息 |  |  |         // 移除加载消息 | 
		
	
		
			
				|  |  |         messages.value = messages.value.filter(msg => !msg.isLoading) |  |  |         messages.value = messages.value.filter(msg => !msg.isLoading) | 
		
	
	
		
			
				|  | 
 |