mirror of
https://github.com/Wei-Shaw/claude-relay-service.git
synced 2026-01-22 16:43:35 +00:00
fix lint
This commit is contained in:
@@ -603,9 +603,7 @@ class ClaudeRelayService {
|
|||||||
requestOptions.useRandomizedToolNames !== true
|
requestOptions.useRandomizedToolNames !== true
|
||||||
) {
|
) {
|
||||||
requestOptions = { ...requestOptions, useRandomizedToolNames: true }
|
requestOptions = { ...requestOptions, useRandomizedToolNames: true }
|
||||||
const retryResult = await makeRequestWithRetries(requestOptions)
|
;({ response, retryCount } = await makeRequestWithRetries(requestOptions))
|
||||||
response = retryResult.response
|
|
||||||
retryCount = retryResult.retryCount
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 如果进行了重试,记录最终结果
|
// 如果进行了重试,记录最终结果
|
||||||
@@ -1833,7 +1831,7 @@ class ClaudeRelayService {
|
|||||||
return prepared.abortResponse
|
return prepared.abortResponse
|
||||||
}
|
}
|
||||||
|
|
||||||
const { bodyString, headers, isRealClaudeCode, toolNameMap } = prepared
|
const { bodyString, headers, toolNameMap } = prepared
|
||||||
const toolNameStreamTransformer = this._createToolNameStripperStreamTransformer(
|
const toolNameStreamTransformer = this._createToolNameStripperStreamTransformer(
|
||||||
streamTransformer,
|
streamTransformer,
|
||||||
toolNameMap
|
toolNameMap
|
||||||
|
|||||||
Reference in New Issue
Block a user