Skip to content

Commit e9d03c6

Browse files
committed
refactor: improve debug logging format in parseTokenFromEnv function
1 parent ef610bf commit e9d03c6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/core/src/env.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export async function parseTokenFromEnv(
188188
const { provider, model, tag } = parseModelIdentifier(
189189
modelId ?? runtimeHost.modelAliases.large.model,
190190
);
191-
dbg(`parsing token for ${provider} ${model || ""} ${tag || ""}`);
191+
dbg(`parsing token for '%s:%s:%s'`, provider, model, tag);
192192
const TOKEN_SUFFIX = ["_API_KEY", "_API_TOKEN", "_TOKEN", "_KEY"];
193193
const BASE_SUFFIX = ["_API_BASE", "_API_ENDPOINT", "_BASE", "_ENDPOINT"];
194194

0 commit comments

Comments
 (0)