claude-codex-proxy 1.0.5-beta.33 → 1.0.5-beta.34
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/routes/chat-route.js
CHANGED
|
@@ -45,7 +45,7 @@ export async function handleChatCompletion(req, res) {
|
|
|
45
45
|
|
|
46
46
|
const anthropicRequest = _buildAnthropicRequest(body, upstreamModel);
|
|
47
47
|
|
|
48
|
-
logger.request(
|
|
48
|
+
logger.request({
|
|
49
49
|
model: upstreamModel,
|
|
50
50
|
requestedModel,
|
|
51
51
|
account: creds.email,
|
package/src/utils/logger.js
CHANGED
|
@@ -157,8 +157,8 @@ class Logger extends EventEmitter {
|
|
|
157
157
|
this._log('DEBUG', ...args);
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
-
request(
|
|
161
|
-
const parts = [
|
|
160
|
+
request(details = {}) {
|
|
161
|
+
const parts = [];
|
|
162
162
|
if (details.model) parts.push(`model=${details.model}`);
|
|
163
163
|
if (details.requestedModel) parts.push(`requested_model=${details.requestedModel}`);
|
|
164
164
|
if (details.account) parts.push(`account=${details.account}`);
|