Commit 3001b328 authored by Joel's avatar Joel

feat: anthoropic hide max token tip

parent 33952d82
...@@ -198,7 +198,7 @@ const ConifgModel: FC<IConifgModelProps> = ({ ...@@ -198,7 +198,7 @@ const ConifgModel: FC<IConifgModelProps> = ({
useEffect(() => { useEffect(() => {
const max = params[4].max const max = params[4].max
if (completionParams.max_tokens > max * 2 / 3) if (currModel?.provider !== ProviderType.anthropic && completionParams.max_tokens > max * 2 / 3)
setMaxTokenSettingTipVisible(true) setMaxTokenSettingTipVisible(true)
else else
setMaxTokenSettingTipVisible(false) setMaxTokenSettingTipVisible(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment