♻️ refactor(google-genai): migrate from @google/generative-ai to @google/genai #20096
Annotations
2 errors and 6 warnings
Test App Coverage
Process completed with exit code 1.
|
Test App Coverage:
src/libs/model-runtime/google/index.test.ts#L593
AssertionError: expected { description: 'A test tool', …(2) } to deeply equal { name: 'testTool', …(2) }
- Expected
+ Received
@@ -1,9 +1,10 @@
{
"description": "A test tool",
"name": "testTool",
"parameters": {
+ "description": undefined,
"properties": {
"param1": {
"type": "string",
},
"param2": {
@@ -11,8 +12,8 @@
},
},
"required": [
"param1",
],
- "type": "object",
+ "type": "OBJECT",
},
}
❯ src/libs/model-runtime/google/index.test.ts:593:88
|
Lint:
src/features/PluginDevModal/MCPManifestForm/index.tsx#L144
Empty block statement
|
Lint:
src/features/ModelSwitchPanel/index.tsx#L47
'updating' is defined but never used. Allowed unused args must match /^_/u
|
Lint:
src/features/ModelSwitchPanel/index.tsx#L45
'open' is defined but never used. Allowed unused args must match /^_/u
|
Lint:
src/app/[variants]/(main)/settings/provider/(detail)/ollama/OllamaModelDownloader/index.tsx#L1
Empty files are not allowed
|
Lint:
src/app/[variants]/(main)/settings/common/features/Appearance/ThemeSwatches/ThemeSwatchesPrimary.tsx#L6
'v' is defined but never used. Allowed unused args must match /^_/u
|
Lint:
src/app/[variants]/(main)/settings/common/features/Appearance/ThemeSwatches/ThemeSwatchesNeutral.tsx#L6
'v' is defined but never used. Allowed unused args must match /^_/u
|
Loading