Skip to content

Commit

Permalink
🐛 fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Oct 12, 2024
1 parent b861c3e commit 4149f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/agent-runtime/huggingface/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export const LobeHuggingFaceAI = LobeOpenAICompatibleFactory({
// `top_p` must be > 0.0 and < 1.0
top_p: payload?.top_p
? payload?.top_p >= 1
? 1
? 0.99
: payload?.top_p <= 0
? 0.01
: payload?.top_p
Expand Down

0 comments on commit 4149f4d

Please sign in to comment.