同步小壹 R5 集成基线
This commit is contained in:
commit
186385b8f9
@ -488,6 +488,7 @@ export class DetailPiAgent {
|
||||
}
|
||||
if (encoded && api === 'openai-completions') payload.response_format = { type: 'json_object' };
|
||||
if (encoded && api === 'openai-responses') payload.text = { format: { type: 'json_object' } };
|
||||
// Private project evidence: BODY ONLY, never the fetch headers or API Key.
|
||||
promptCacheKeyPresent = typeof payload.prompt_cache_key === 'string';
|
||||
if (!worker && process.env.XIAOYI_DUMP_RAW_PAYLOADS === '1') {
|
||||
await atomic(path.join(store.dir, 'payloads', round.id + '.json'), payload);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user