mirror of
https://github.com/moltbot/moltbot.git
synced 2026-04-25 23:47:20 +00:00
fix: restore current-main gate (#59815)
This commit is contained in:
@@ -190,7 +190,7 @@ export function applyAnthropicConfigDefaults(params: {
|
||||
);
|
||||
if (primary) {
|
||||
const parsedPrimary = parseProviderModelRef(primary, "anthropic");
|
||||
if (isAnthropicCacheRetentionTarget(parsedPrimary)) {
|
||||
if (parsedPrimary && isAnthropicCacheRetentionTarget(parsedPrimary)) {
|
||||
const key = `${parsedPrimary.provider}/${parsedPrimary.model}`;
|
||||
const entry = nextModels[key];
|
||||
const current = entry ?? {};
|
||||
|
||||
@@ -158,6 +158,8 @@ export type TelegramAccountConfig = {
|
||||
* - "progress": alias that maps to "partial" on Telegram
|
||||
*/
|
||||
streaming?: TelegramStreamingMode;
|
||||
/** Chunking config for Telegram stream previews in `streaming: "block"`. */
|
||||
draftChunk?: BlockStreamingChunkConfig;
|
||||
/** Disable block streaming for this account. */
|
||||
blockStreaming?: boolean;
|
||||
/** Draft block-stream chunking thresholds for Telegram preview edits. */
|
||||
|
||||
Reference in New Issue
Block a user