chore: reformat

This commit is contained in:
can1357
2026-05-13 02:34:46 +02:00
parent e80f9c76ad
commit eac29966eb
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -1,3 +1,4 @@
import { abortableSleep } from "@oh-my-pi/pi-utils";
import type { TSchema } from "@sinclair/typebox";
import { getEnvApiKey } from "../stream";
import type {
@@ -14,7 +15,6 @@ import type {
ToolResultMessage,
UserMessage,
} from "../types";
import { abortableSleep } from "@oh-my-pi/pi-utils";
import { normalizeSystemPrompts } from "../utils";
import { AssistantMessageEventStream } from "../utils/event-stream";
import { finalizeErrorMessage, type RawHttpRequestDump } from "../utils/http-inspector";
@@ -4,6 +4,7 @@ import * as os from "node:os";
import * as path from "node:path";
import { AuthCredentialStore, AuthStorage, type CredentialDisabledEvent } from "../src/auth-storage";
import * as oauthUtils from "../src/utils/oauth";
// Env vars short-circuit AuthStorage.getApiKey before the OAuth refresh path runs; suppress
// them for every test in this file so the credential-disable code path can be exercised.
const SUPPRESS_ANTHROPIC_ENV = ["ANTHROPIC_API_KEY", "ANTHROPIC_OAUTH_TOKEN"] as const;