tests
This commit is contained in:
@@ -60,7 +60,6 @@ const sandbox = await fs.mkdtemp(path.join(os.tmpdir(), "opencode-e2e-"))
|
|||||||
const serverEnv = {
|
const serverEnv = {
|
||||||
...process.env,
|
...process.env,
|
||||||
MODELS_DEV_API_JSON: modelsJson,
|
MODELS_DEV_API_JSON: modelsJson,
|
||||||
OPENCODE_DISABLE_MODELS_FETCH: "true",
|
|
||||||
OPENCODE_DISABLE_SHARE: "true",
|
OPENCODE_DISABLE_SHARE: "true",
|
||||||
OPENCODE_DISABLE_LSP_DOWNLOAD: "true",
|
OPENCODE_DISABLE_LSP_DOWNLOAD: "true",
|
||||||
OPENCODE_DISABLE_DEFAULT_PLUGINS: "true",
|
OPENCODE_DISABLE_DEFAULT_PLUGINS: "true",
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ export namespace ModelsDev {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function refresh() {
|
export async function refresh() {
|
||||||
if (Flag.OPENCODE_DISABLE_MODELS_FETCH) return
|
|
||||||
const file = Bun.file(filepath)
|
const file = Bun.file(filepath)
|
||||||
log.info("refreshing", {
|
log.info("refreshing", {
|
||||||
file,
|
file,
|
||||||
|
|||||||
Reference in New Issue
Block a user