types.ts 290 B

1234567891011121314
  1. import { LLMModel } from "@/app/client";
  2. import { Updater } from "@/app/typing";
  3. export type ModelConfigProps<T> = {
  4. models: LLMModel[];
  5. config: T;
  6. updateConfig: Updater<T>;
  7. };
  8. export type ProviderConfigProps<T> = {
  9. readonly?: boolean;
  10. config: T;
  11. updateConfig: Updater<T>;
  12. };