bingocode 1.1.148 → 1.1.150
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/constants/prompts.ts
CHANGED
|
@@ -441,7 +441,7 @@ If you can say it in one sentence, don't use three. Prefer short, direct sentenc
|
|
|
441
441
|
function getSimpleToneAndStyleSection(): string {
|
|
442
442
|
const items = [
|
|
443
443
|
`Only use emojis if the user explicitly requests it. Avoid using emojis in all communication unless asked.`,
|
|
444
|
-
`
|
|
444
|
+
`Always respond in the same language the user uses, unless a language preference has been configured.`,
|
|
445
445
|
process.env.USER_TYPE === 'ant'
|
|
446
446
|
? null
|
|
447
447
|
: `Your responses should be short and concise.`,
|
package/src/utils/betas.ts
CHANGED
|
@@ -163,7 +163,19 @@ export function modelSupportsAutoMode(model: string): boolean {
|
|
|
163
163
|
// External: firstParty-only at launch (PI probes not wired for
|
|
164
164
|
// Bedrock/Vertex/Foundry yet). Checked before allowModels so the GB
|
|
165
165
|
// override can't enable auto mode on unsupported providers.
|
|
166
|
-
|
|
166
|
+
// NOTE(leanchy): For BingoCode fork, bypass the provider check when
|
|
167
|
+
// the user has explicitly opted into auto mode AND set the env var.
|
|
168
|
+
// Original: if (process.env.USER_TYPE !== 'ant' && getAPIProvider() !== 'firstParty')
|
|
169
|
+
const autoModeOptIn = getFeatureValue_CACHED_MAY_BE_STALE<{ enabled?: string }>(
|
|
170
|
+
'tengu_auto_mode_config',
|
|
171
|
+
{},
|
|
172
|
+
)
|
|
173
|
+
if (
|
|
174
|
+
process.env.USER_TYPE !== 'ant' &&
|
|
175
|
+
getAPIProvider() !== 'firstParty' &&
|
|
176
|
+
!isEnvTruthy(process.env.CLAUDE_CODE_ENABLE_AUTO_WITH_ANY_PROVIDER) &&
|
|
177
|
+
autoModeOptIn?.enabled !== 'enabled'
|
|
178
|
+
) {
|
|
167
179
|
return false
|
|
168
180
|
}
|
|
169
181
|
// GrowthBook override: tengu_auto_mode_config.allowModels force-enables
|