mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-20 13:13:06 +00:00
test: keep chutes env discovery on test harness
This commit is contained in:
@@ -6,7 +6,6 @@ import { afterAll, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { CHUTES_BASE_URL } from "./chutes-models.js";
|
||||
import { resolveOAuthApiKeyMarker } from "./model-auth-markers.js";
|
||||
import { resolveImplicitProvidersForTest } from "./models-config.e2e-harness.js";
|
||||
import { resolveImplicitProviders } from "./models-config.providers.implicit.js";
|
||||
|
||||
const CHUTES_OAUTH_MARKER = resolveOAuthApiKeyMarker("chutes");
|
||||
const ORIGINAL_VITEST_ENV = process.env.VITEST;
|
||||
@@ -127,7 +126,7 @@ describe("chutes implicit provider auth mode", () => {
|
||||
|
||||
it("auto-loads bundled chutes discovery for env api keys", async () => {
|
||||
const agentDir = createTempAgentDir();
|
||||
const providers = await resolveImplicitProviders({
|
||||
const providers = await resolveImplicitProvidersForTest({
|
||||
agentDir,
|
||||
env: {
|
||||
CHUTES_API_KEY: "env-chutes-api-key",
|
||||
|
||||
Reference in New Issue
Block a user