File tree Expand file tree Collapse file tree 1 file changed +19
-4
lines changed
src/renderer/components/Experiment/Interact Expand file tree Collapse file tree 1 file changed +19
-4
lines changed Original file line number Diff line number Diff line change 11import {
2- Button ,
3- FormControl ,
2+ Alert ,
43 FormLabel ,
54 Sheet ,
65 Stack ,
@@ -9,14 +8,19 @@ import {
98 Modal ,
109 ModalDialog ,
1110} from '@mui/joy' ;
11+ import {
12+ ConstructionIcon ,
13+ } from 'lucide-react' ;
14+
1215import ChatBubble from './ChatBubble' ;
1316import ChatSubmit from './ChatSubmit' ;
17+ import ChatSettingsOnLeftHandSide from './ChatSettingsOnLeftHandSide' ;
1418import * as chatAPI from '../../../lib/transformerlab-api-sdk' ;
19+ import SystemMessageBox from './SystemMessageBox' ;
20+
1521import { useEffect , useState } from 'react' ;
1622import { useDebounce } from 'use-debounce' ;
1723import useSWR from 'swr' ;
18- import SystemMessageBox from './SystemMessageBox' ;
19- import ChatSettingsOnLeftHandSide from './ChatSettingsOnLeftHandSide' ;
2024
2125// fetcher used by SWR
2226const fetcher = ( url ) => fetch ( url ) . then ( ( res ) => res . json ( ) ) ;
@@ -148,6 +152,17 @@ export default function ChatPage({
148152 >
149153 { enableTools && (
150154 < >
155+ < Alert
156+ variant = "outlined"
157+ color = "warning"
158+ startDecorator = { < ConstructionIcon /> }
159+ >
160+ Work In Progress.
161+ This is a preview of tool calling.
162+ We will be expanding this portion of the app in an upcoming release.
163+ This feature will allow a user to add functions that can be
164+ called by the model.
165+ </ Alert >
151166 < FormLabel > Available Tools</ FormLabel >
152167 < Textarea value = { tool_list } />
153168 </ >
You can’t perform that action at this time.
0 commit comments