mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-26 05:13:33 +00:00
fix: repair ci audit and type drift
This commit is contained in:
@@ -1,12 +1,11 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import type { OpenClawConfig } from "../config/config.js";
|
||||
import type { ModelDefinitionConfig } from "../config/types.models.js";
|
||||
import { installModelsConfigTestHooks, withModelsTempHome } from "./models-config.e2e-harness.js";
|
||||
import { ensureOpenClawModelsJson } from "./models-config.js";
|
||||
import { readGeneratedModelsJson } from "./models-config.test-utils.js";
|
||||
|
||||
function createGoogleModelsConfig(
|
||||
models: NonNullable<OpenClawConfig["models"]>["providers"]["google"]["models"],
|
||||
): OpenClawConfig {
|
||||
function createGoogleModelsConfig(models: ModelDefinitionConfig[]): OpenClawConfig {
|
||||
return {
|
||||
models: {
|
||||
providers: {
|
||||
|
||||
Reference in New Issue
Block a user