@myagentroam/agent 0.10.63 → 0.10.65
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.
|
@@ -62,11 +62,7 @@ export interface ModelAttemptDiagnostic {
|
|
|
62
62
|
connectionId?: string;
|
|
63
63
|
connectionReused?: boolean;
|
|
64
64
|
proxyType?: 'DIRECT' | 'SOCKS5';
|
|
65
|
-
/**
|
|
66
|
-
requestInstructionsHash?: string;
|
|
67
|
-
requestToolsHash?: string;
|
|
68
|
-
requestPropertiesHash?: string;
|
|
69
|
-
requestInputHash?: string;
|
|
65
|
+
/** Item count of the lowered full logical request, not just a continuation suffix. */
|
|
70
66
|
requestInputItems?: number;
|
|
71
67
|
/** Actual serialized WebSocket request size, including inline image Base64. */
|
|
72
68
|
requestBytes?: number;
|
|
@@ -95,10 +95,6 @@ export class OpenAiResponsesAdapter {
|
|
|
95
95
|
const attemptTransport = this.configuration.responsesTransport?.transport === 'WEBSOCKET' ? 'WEBSOCKET' : 'HTTP';
|
|
96
96
|
const requestPrefixDiagnostic = request.onAttemptDiagnostic
|
|
97
97
|
? {
|
|
98
|
-
requestInstructionsHash: hashResponsesValue(responsesSystemInput(request) ?? null),
|
|
99
|
-
requestToolsHash: hashResponsesValue(prepared.fullBody.tools),
|
|
100
|
-
requestPropertiesHash: hashResponsesValue({ ...prepared.fullBody, input: undefined }),
|
|
101
|
-
requestInputHash: hashResponsesValue(prepared.fullBody.input),
|
|
102
98
|
requestInputItems: prepared.fullBody.input.length
|
|
103
99
|
}
|
|
104
100
|
: {};
|