chore: refresh pi-ai patch repro note
This commit is contained in:
@@ -2,7 +2,6 @@ import { type Api, getEnvApiKey, type Model } from "@mariozechner/pi-ai";
|
||||
import type { ClawdbotConfig } from "../config/config.js";
|
||||
import type { ModelProviderConfig } from "../config/types.js";
|
||||
import { getShellEnvAppliedKeys } from "../infra/shell-env.js";
|
||||
import { normalizeProviderId } from "./model-selection.js";
|
||||
import {
|
||||
type AuthProfileStore,
|
||||
ensureAuthProfileStore,
|
||||
@@ -10,6 +9,7 @@ import {
|
||||
resolveApiKeyForProfile,
|
||||
resolveAuthProfileOrder,
|
||||
} from "./auth-profiles.js";
|
||||
import { normalizeProviderId } from "./model-selection.js";
|
||||
|
||||
export {
|
||||
ensureAuthProfileStore,
|
||||
|
||||
@@ -559,7 +559,9 @@ export function buildEmbeddedSandboxInfo(
|
||||
bashElevated?: BashElevatedDefaults,
|
||||
): EmbeddedSandboxInfo | undefined {
|
||||
if (!sandbox?.enabled) return undefined;
|
||||
const elevatedAllowed = Boolean(bashElevated?.enabled && bashElevated.allowed);
|
||||
const elevatedAllowed = Boolean(
|
||||
bashElevated?.enabled && bashElevated.allowed,
|
||||
);
|
||||
return {
|
||||
enabled: true,
|
||||
workspaceDir: sandbox.workspaceDir,
|
||||
|
||||
Reference in New Issue
Block a user