CoAgent8 - Source API
    Preparing search index...

    Function handleDoctor

    • The model view by default (scope: "models", cached); scope: "health" runs the full diagnosis. Summary text by default; detail: "full" returns the report as compact JSON and structured content.

      Parameters

      • args: { backend?: string; detail?: string; scope?: string } = {}
      • Optionalsignal: AbortSignal

      Returns Promise<
          | {
              content: { text: string; type: string }[];
              structuredContent?: undefined;
          }
          | {
              content: { text: string; type: string }[];
              structuredContent: Record<string, unknown>;
          },
      >