mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 06:20:43 +00:00
test(moonshot): avoid redundant live result type
This commit is contained in:
@@ -25,7 +25,7 @@ describeLive("moonshot plugin live", () => {
|
||||
searchConfig: { kimi: { apiKey: KIMI_SEARCH_KEY }, cacheTtlMinutes: 0, timeoutSeconds: 90 },
|
||||
} as never);
|
||||
|
||||
let result: Awaited<ReturnType<NonNullable<typeof tool>["execute"]>> | undefined;
|
||||
let result: { provider?: string; content?: unknown; citations?: unknown } | undefined;
|
||||
let lastError: unknown;
|
||||
for (let attempt = 0; attempt < 2; attempt += 1) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user