Skip to content

Commit aecb6e8

Browse files
vanndxhvanndxh
andauthored
fix: watch config three sub-items (ant-design#777)
* feat: function setState * fix: watch config --------- Co-authored-by: vanndxh <[email protected]>
1 parent b60e52a commit aecb6e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/use-x-agent/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ export default function useXAgent<
113113
...restConfig,
114114
}),
115115
] as const,
116-
[config],
116+
[config?.baseURL, config?.dangerouslyApiKey, config?.model],
117117
);
118118
}

0 commit comments

Comments
 (0)