Skip to content

Open-source Grok Bot alternative for named AI teammates. Local-first desktop, web, and mobile clients with per-bot tools, instructions, and memory. Independent fork of T3 Code.

426 B
Raw Blame
import * as bedrock from "@distilled.cloud/aws/bedrock-runtime";
import * as Layer from "effect/Layer";
import { makeModelScopedHttpBinding } from "./BindingHttp.ts";
import { InvokeModel } from "./InvokeModel.ts";

export const InvokeModelHttp = Layer.effect(
  InvokeModel,
  makeModelScopedHttpBinding({
    tag: "AWS.Bedrock.InvokeModel",
    operation: bedrock.invokeModel,
    actions: ["bedrock:InvokeModel"],
  }),
);