File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,7 @@ const DifyChatbot = ({ onChatToggle }) => {
4545 const organisation = useSelector ( ( state ) => state . app ?. organisation ) ;
4646 const authSession = useSelector ( ( state ) => state . app ?. authSession ) ;
4747 const authToken = localStorage . getItem ( IdpDetails . AuthTokenName ) ;
48+ const avni_mcp_server_url = aiConfig ?. mcp_server_url || "" ;
4849
4950 useEffect ( ( ) => {
5051 // Doesn't update dify config. We need to keep track of the conversation id to update the inputs and config
@@ -205,6 +206,7 @@ const DifyChatbot = ({ onChatToggle }) => {
205206 }
206207
207208 params . append ( "auth_token" , authToken ) ;
209+ params . append ( "avni_mcp_server_url" , avni_mcp_server_url ) ;
208210
209211 return params . toString ( ) ? `${ baseUrl } ?${ params . toString ( ) } ` : baseUrl ;
210212 } ;
You can’t perform that action at this time.
0 commit comments