chore: snapshot main sync
This commit is contained in:
@@ -66,11 +66,11 @@ async function applySessionOverrides(
|
||||
connection: ConnectionType,
|
||||
acpSessionId: string,
|
||||
configOptions: SessionConfigOption[] | null | undefined,
|
||||
opts: Pick<AcpDispatchOpts, 'model' | 'modeId' | 'thinkingOptionId' | 'log'>,
|
||||
opts: Pick<AcpDispatchOpts, 'agent' | 'model' | 'modeId' | 'thinkingOptionId' | 'log'>,
|
||||
): Promise<void> {
|
||||
const { model, modeId, thinkingOptionId, log } = opts;
|
||||
|
||||
if (modeId) {
|
||||
if (modeId && opts.agent !== 'reasonix') {
|
||||
try {
|
||||
await connection.setSessionMode({ sessionId: acpSessionId, modeId });
|
||||
} catch (err) {
|
||||
|
||||
Reference in New Issue
Block a user