mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-24 17:11:28 +01:00
Second-model review defaults to GPT-6.2 Sol instead of GPT-6.1 Sol (GST-3384) (#4636)
When you don't name a second-model reviewer, the review step in /ship and /review on Capy now uses GPT-6.2 Sol instead of GPT-6.1 Sol, still at medium reasoning. A reviewer you name yourself is used exactly as given. Why: reviews should run on the current frontier model, not an older generation. Nothing to do. Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
6963fa8089
commit
23ee4c3dec
5 files changed
+46
-44
No files matched your search
@@ -104,19 +104,19 @@ const briefText = async (r) => {
|
||||
const roleArgs = (r) => ' --role ' + q(r.role) + (r.name ? ' --name ' + q(r.name) : '');
|
||||
const REASONING = { medium: 'medium', light: 'low' };
|
||||
const family = (id) => (typeof id === 'string' && id.includes('/') ? id.slice(0, id.indexOf('/')).toLowerCase() : '');
|
||||
const CERTIFIED_OUTSIDE = { model_id: 'openai/gpt-6.1-sol', reasoning_mode: 'medium' };
|
||||
const DEFAULT_OUTSIDE = { model_id: 'openai/gpt-6.2-sol', reasoning_mode: 'medium' };
|
||||
const voiceFile = input.out.replace(/\/+$/, '') + '/voice-models.json';
|
||||
let voices = { laneModel: null, readers: {} };
|
||||
let laneFamily = family(input.laneModel);
|
||||
const modelOf = (r) => r.model || (r.cross_family ? (input.models || {})['outside-voice'] || (laneFamily === 'anthropic' ? CERTIFIED_OUTSIDE : undefined) : undefined) || (r.reader in voices.readers ? voices.readers[r.reader] || undefined
|
||||
const modelOf = (r) => r.model || (r.cross_family ? (input.models || {})['outside-voice'] || (laneFamily === 'anthropic' ? DEFAULT_OUTSIDE : undefined) : undefined) || (r.reader in voices.readers ? voices.readers[r.reader] || undefined
|
||||
: (input.models || {})[r.role === 'specialist-batched' ? 'specialist' : r.role]
|
||||
|| (r.role === 'outside-voice' && laneFamily === 'anthropic' ? CERTIFIED_OUTSIDE : undefined)
|
||||
|| (r.role === 'outside-voice' && laneFamily === 'anthropic' ? DEFAULT_OUTSIDE : undefined)
|
||||
|| (REASONING[r.effort] && input.laneModel ? { model_id: input.laneModel, reasoning_mode: REASONING[r.effort] } : undefined));
|
||||
const outsideNote = (r, source) => {
|
||||
const ov = modelOf(r);
|
||||
const certified = laneFamily === 'anthropic' && ov.model_id === CERTIFIED_OUTSIDE.model_id && ov.reasoning_mode === CERTIFIED_OUTSIDE.reasoning_mode;
|
||||
const isDefault = laneFamily === 'anthropic' && ov.model_id === DEFAULT_OUTSIDE.model_id && ov.reasoning_mode === DEFAULT_OUTSIDE.reasoning_mode;
|
||||
return 'OUTSIDE_VOICE: ' + ov.model_id + ' reasoning=' + (ov.reasoning_mode || 'default') + ' ' + source
|
||||
+ (certified ? ' (certified configuration)' : '; outside the certified configuration (' + CERTIFIED_OUTSIDE.model_id + ' at ' + CERTIFIED_OUTSIDE.reasoning_mode + ' beside an anthropic lane)');
|
||||
+ (isDefault ? ' (default configuration)' : '; outside the default configuration (' + DEFAULT_OUTSIDE.model_id + ' at ' + DEFAULT_OUTSIDE.reasoning_mode + ' beside an anthropic lane)');
|
||||
};
|
||||
const familyStop = (readers) => {
|
||||
const native = readers.find((x) => x.role === 'adversarial-native');
|
||||
|
||||
Reference in new issue
Block a user