diff --git a/src/App.tsx b/src/App.tsx
index febd4fa34..5c237e4c5 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -597,7 +597,11 @@ function App() {
return (
);
case "mcp":
diff --git a/src/components/providers/forms/OpenClawFormFields.tsx b/src/components/providers/forms/OpenClawFormFields.tsx
index 7db6ef7df..ccf1e17d3 100644
--- a/src/components/providers/forms/OpenClawFormFields.tsx
+++ b/src/components/providers/forms/OpenClawFormFields.tsx
@@ -61,7 +61,7 @@ export function OpenClawFormFields({
}: OpenClawFormFieldsProps) {
const { t } = useTranslation();
const [expandedModels, setExpandedModels] = useState>(
- {}
+ {},
);
// Toggle advanced section for a model
@@ -100,7 +100,7 @@ export function OpenClawFormFields({
const handleModelChange = (
index: number,
field: keyof OpenClawModel,
- value: unknown
+ value: unknown,
) => {
const newModels = [...models];
newModels[index] = { ...newModels[index], [field]: value };
@@ -111,7 +111,7 @@ export function OpenClawFormFields({
const handleCostChange = (
index: number,
costField: "input" | "output" | "cacheRead" | "cacheWrite",
- value: string
+ value: string,
) => {
const newModels = [...models];
const numValue = parseFloat(value);
@@ -275,7 +275,7 @@ export function OpenClawFormFields({
handleModelChange(
index,
"contextWindow",
- e.target.value ? parseInt(e.target.value) : undefined
+ e.target.value ? parseInt(e.target.value) : undefined,
)
}
placeholder="200000"
@@ -294,7 +294,7 @@ export function OpenClawFormFields({
handleModelChange(
index,
"maxTokens",
- e.target.value ? parseInt(e.target.value) : undefined
+ e.target.value ? parseInt(e.target.value) : undefined,
)
}
placeholder="32000"
@@ -316,7 +316,9 @@ export function OpenClawFormFields({
{model.reasoning
? t("openclaw.reasoningOn", { defaultValue: "启用" })
- : t("openclaw.reasoningOff", { defaultValue: "关闭" })}
+ : t("openclaw.reasoningOff", {
+ defaultValue: "关闭",
+ })}
@@ -417,7 +419,7 @@ export function OpenClawFormFields({
handleCostChange(
index,
"cacheWrite",
- e.target.value
+ e.target.value,
)
}
placeholder="3.75"
diff --git a/src/components/ui/collapsible.tsx b/src/components/ui/collapsible.tsx
index a23e7a281..5c28cbcc3 100644
--- a/src/components/ui/collapsible.tsx
+++ b/src/components/ui/collapsible.tsx
@@ -1,9 +1,9 @@
-import * as CollapsiblePrimitive from "@radix-ui/react-collapsible"
+import * as CollapsiblePrimitive from "@radix-ui/react-collapsible";
-const Collapsible = CollapsiblePrimitive.Root
+const Collapsible = CollapsiblePrimitive.Root;
-const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger
+const CollapsibleTrigger = CollapsiblePrimitive.CollapsibleTrigger;
-const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent
+const CollapsibleContent = CollapsiblePrimitive.CollapsibleContent;
-export { Collapsible, CollapsibleTrigger, CollapsibleContent }
+export { Collapsible, CollapsibleTrigger, CollapsibleContent };
diff --git a/src/lib/api/openclaw.ts b/src/lib/api/openclaw.ts
index cfad98ce0..251650a22 100644
--- a/src/lib/api/openclaw.ts
+++ b/src/lib/api/openclaw.ts
@@ -1,8 +1,5 @@
import { invoke } from "@tauri-apps/api/core";
-import type {
- OpenClawDefaultModel,
- OpenClawModelCatalogEntry,
-} from "@/types";
+import type { OpenClawDefaultModel, OpenClawModelCatalogEntry } from "@/types";
/**
* OpenClaw agents configuration API