mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 05:50:43 +00:00
fix(xai): satisfy spread fallback lint (#75914)
This commit is contained in:
committed by
GitHub
parent
8c4c12a6dd
commit
a09b1361a7
@@ -53,10 +53,10 @@ export function resolveEffectiveXSearchConfig(config?: OpenClawConfig): JsonReco
|
||||
const legacy = resolveLegacyXSearchConfig(config);
|
||||
const pluginOwned = resolvePluginXSearchConfig(config);
|
||||
const merged = {
|
||||
...(legacyGrokBaseUrl ?? {}),
|
||||
...(pluginWebSearchBaseUrl ?? {}),
|
||||
...(legacy ?? {}),
|
||||
...(pluginOwned ?? {}),
|
||||
...legacyGrokBaseUrl,
|
||||
...pluginWebSearchBaseUrl,
|
||||
...legacy,
|
||||
...pluginOwned,
|
||||
};
|
||||
if (Object.keys(merged).length === 0) {
|
||||
return undefined;
|
||||
|
||||
Reference in New Issue
Block a user