init
This commit is contained in:
@@ -146,25 +146,7 @@ export default function ChatPage() {
|
||||
}, [messages, selectedTool?.id]);
|
||||
|
||||
|
||||
// iframe 도구 처리
|
||||
const iframeTools = {
|
||||
research_qa: 'http://yongin-qa-chatbot.daewoongai.com/',
|
||||
lims_text2sql: 'http://3.38.184.255:8080/',
|
||||
};
|
||||
|
||||
if (selectedTool && iframeTools[selectedTool.id]) {
|
||||
return (
|
||||
<section className="page page-chat" style={{ flex: 1, display: 'flex', flexDirection: 'column', position:'relative' }}>
|
||||
{historyPanel}
|
||||
<iframe
|
||||
src={iframeTools[selectedTool.id]}
|
||||
className="external-iframe"
|
||||
title="external"
|
||||
style={{ flex: 1 }}
|
||||
/>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
// (iframe으로 제공하는 도구는 더 이상 없음)
|
||||
|
||||
if (selectedTool && selectedTool.id === 'dev_chatbot') {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user