Vana SDK - v4.1.0
    Preparing search index...

    Function recomputeQuestion

    • Ask the Personal Server to recompute a question now.

      Parameters

      • params: RecomputeQuestionParams

      Returns Promise<
          {
              questionId: string;
              derivedScope: string;
              sourceScopes: string[];
              question: string;
              model: string
              | null;
              registeredBy:
                  | { kind: "owner" }
                  | { kind: "builder"; builder: string; grantId: string };
              status: "pending" | "failed" | "ready" | "stale";
              error: string | null;
              errorCode:
                  | "internal"
                  | "inference_unavailable"
                  | "source_missing"
                  | "grant_invalid"
                  | null;
              createdAt: string;
              updatedAt: string
              | null;
              lastComputedAt: string | null;
              derivedVersion: number | null;
              derivedCollectedAt: string | null;
          },
      >

      The full registration view, with the status the question was put into (pending when it had never computed, else stale). Servers before personal-server-ts d91124d answered only { questionId, derivedScope, status } here, which no longer parses.

      Sends POST /v1/derivatives/questions/:id/recompute, which answers 202 and schedules the compute immediately instead of after the usual quiet period. Use it to retry a failed question; a source change recomputes on its own.