Skip to content

Commit 2dda167

Browse files
committed
fix(pr): restore Slack streaming type export
1 parent 2cdb47a commit 2dda167

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

extensions/openrouter/provider-routing.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,9 +56,9 @@ function mergeOpenRouterProviderRouting(params: {
5656
const modelRouting = readRecord(params.modelParams?.provider);
5757
const extraRouting = readRecord(params.extraParams.provider);
5858
const merged = {
59-
...(providerRouting ?? {}),
60-
...(modelRouting ?? {}),
61-
...(extraRouting ?? {}),
59+
...providerRouting,
60+
...modelRouting,
61+
...extraRouting,
6262
};
6363
return Object.keys(merged).length > 0 ? merged : undefined;
6464
}
@@ -78,8 +78,8 @@ export function resolveOpenRouterExtraParamsForTransport(
7878
}
7979
return {
8080
patch: {
81-
...(providerConfigParams ?? {}),
82-
...(modelParams ?? {}),
81+
...providerConfigParams,
82+
...modelParams,
8383
...ctx.extraParams,
8484
...(providerRouting ? { provider: providerRouting } : {}),
8585
},

src/channels/streaming.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export type {
2121
ChannelStreamingConfig,
2222
ChannelStreamingProgressConfig,
2323
ChannelStreamingPreviewConfig,
24-
SlackChannelStreamingConfig,
2524
StreamingMode,
2625
TextChunkMode,
2726
} from "../config/types.base.js";
27+
export type { SlackChannelStreamingConfig } from "../config/types.slack.js";
2828

2929
type StreamingCompatEntry = {
3030
streaming?: unknown;

0 commit comments

Comments
 (0)