feat: no sse on copy
This commit is contained in:
parent
9ea471e515
commit
e3413ac8d8
|
|
@ -19,7 +19,7 @@ export const PublicComponent = () => {
|
|||
}, [user]);
|
||||
const copyToClipboard2 = useCallback(() => {
|
||||
toaster.show('MCP copied to clipboard', 'success');
|
||||
copy(`${backendUrl}/mcp/` + user?.publicApi + '/sse');
|
||||
copy(`${backendUrl}/mcp/` + user?.publicApi);
|
||||
}, [user]);
|
||||
|
||||
const t = useT();
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@ If the tools return errors, you would need to rerun it with the right parameters
|
|||
execute: async (args, options) => {
|
||||
const { context, runtimeContext } = args;
|
||||
checkAuth(args, options);
|
||||
console.log(JSON.stringify(context, null, 2));
|
||||
const organizationId = JSON.parse(
|
||||
// @ts-ignore
|
||||
runtimeContext.get('organization') as string
|
||||
|
|
|
|||
Loading…
Reference in New Issue