mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 21:20:23 +00:00
!refactor(xai): move x_search config behind plugin boundary (#59674)
* refactor(xai): move x_search config behind plugin boundary * chore(changelog): note x_search config migration * fix(xai): include x_search migration helpers
This commit is contained in:
@@ -29,7 +29,7 @@ describe("runSearchSetupFlow", () => {
|
||||
provider: "grok",
|
||||
enabled: true,
|
||||
});
|
||||
expect(next.tools?.web?.x_search).toMatchObject({
|
||||
expect(next.plugins?.entries?.xai?.config?.xSearch).toMatchObject({
|
||||
enabled: true,
|
||||
model: "grok-4-1-fast",
|
||||
});
|
||||
@@ -77,7 +77,7 @@ describe("runSearchSetupFlow", () => {
|
||||
provider: "grok",
|
||||
enabled: false,
|
||||
});
|
||||
expect(next.tools?.web?.x_search).toMatchObject({
|
||||
expect(next.plugins?.entries?.xai?.config?.xSearch).toMatchObject({
|
||||
enabled: true,
|
||||
model: "grok-4-1-fast",
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user