mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-09 05:37:41 +00:00
chore: Enable more lint rules, disable some that trigger a lot. Will clean up later.
This commit is contained in:
@@ -315,7 +315,7 @@ export async function fetchMinimaxUsage(
|
||||
};
|
||||
}
|
||||
|
||||
const baseResp = isRecord(data.base_resp) ? (data.base_resp as MinimaxBaseResp) : undefined;
|
||||
const baseResp = isRecord(data.base_resp) ? data.base_resp : undefined;
|
||||
if (baseResp && typeof baseResp.status_code === "number" && baseResp.status_code !== 0) {
|
||||
return {
|
||||
provider: "minimax",
|
||||
|
||||
Reference in New Issue
Block a user