|
@@ -76,7 +76,6 @@ func ClaudeHelper(c *gin.Context, info *relaycommon.RelayInfo) (newAPIError *typ
|
|
|
}
|
|
}
|
|
|
// TODO: 临时处理
|
|
// TODO: 临时处理
|
|
|
// https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking#important-considerations-when-using-extended-thinking
|
|
// https://docs.anthropic.com/en/docs/build-with-claude/extended-thinking#important-considerations-when-using-extended-thinking
|
|
|
- request.TopP = common.GetPointer[float64](0)
|
|
|
|
|
request.Temperature = common.GetPointer[float64](1.0)
|
|
request.Temperature = common.GetPointer[float64](1.0)
|
|
|
}
|
|
}
|
|
|
if !model_setting.ShouldPreserveThinkingSuffix(info.OriginModelName) {
|
|
if !model_setting.ShouldPreserveThinkingSuffix(info.OriginModelName) {
|