verify rpc and website gates

This commit is contained in:
Advait Paliwal
2026-04-10 10:49:54 -07:00
parent 4137a29507
commit 790824af20
9 changed files with 759 additions and 52 deletions

View File

@@ -15,6 +15,7 @@ export type PiRuntimeOptions = {
sessionDir: string;
feynmanAgentDir: string;
feynmanVersion?: string;
mode?: "text" | "json" | "rpc";
thinkingLevel?: string;
explicitModelSpec?: string;
oneShotPrompt?: string;
@@ -83,6 +84,9 @@ export function buildPiArgs(options: PiRuntimeOptions): string[] {
args.push("--system-prompt", readFileSync(paths.systemPromptPath, "utf8"));
}
if (options.mode) {
args.push("--mode", options.mode);
}
if (options.explicitModelSpec) {
args.push("--model", options.explicitModelSpec);
}