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.

442 B
Raw Blame
import * as aoss from "@distilled.cloud/aws/opensearchserverless";
import * as Layer from "effect/Layer";
import { makeAossCollectionHttpBinding } from "./BindingHttp.ts";
import { UpdateIndex } from "./UpdateIndex.ts";

export const UpdateIndexHttp = Layer.effect(
  UpdateIndex,
  makeAossCollectionHttpBinding({
    tag: "AWS.OpenSearchServerless.UpdateIndex",
    operation: aoss.updateIndex,
    actions: ["aoss:APIAccessAll"],
  }),
);