tests
This commit is contained in:
parent
41f2653a30
commit
ff9c186485
2 changed files with 0 additions and 2 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue