Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

276 B
Raw Blame
import { pipe, Effect, String } from 'effect';
import { getVersion } from 'src/effects/version';

export const sanitize = (str: string) =>
  Effect.gen(function* () {
    const version = yield* getVersion;

    return pipe(str, String.replaceAll(version, '<VERSION>'));
  });