mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-03 04:00:22 +00:00
fix: merge explicit reply config overrides onto fresh config
This commit is contained in:
@@ -27,6 +27,7 @@ export async function dispatchReplyFromConfigWithSettledDispatcher(params: {
|
||||
dispatcher: ReplyDispatcher;
|
||||
onSettled: () => void | Promise<void>;
|
||||
replyOptions?: ReplyDispatchFromConfigOptions;
|
||||
configOverride?: OpenClawConfig;
|
||||
}): Promise<DispatchFromConfigResult> {
|
||||
return await withReplyDispatcher({
|
||||
dispatcher: params.dispatcher,
|
||||
@@ -37,6 +38,7 @@ export async function dispatchReplyFromConfigWithSettledDispatcher(params: {
|
||||
cfg: params.cfg,
|
||||
dispatcher: params.dispatcher,
|
||||
replyOptions: params.replyOptions,
|
||||
configOverride: params.configOverride,
|
||||
}),
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user