Skip to content

Commit 52b2330

Browse files
author
valentinfrlch
committed
Drop top_p parameter from Anthropic requests #562
1 parent 3d4d55d commit 52b2330

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

custom_components/llmvision/providers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -836,7 +836,6 @@ def _prepare_vision_data(self, call: Any) -> dict:
836836
"messages": [{"role": "user", "content": []}],
837837
"max_tokens": call.max_tokens,
838838
"temperature": default_parameters.get("temperature"),
839-
"top_p": default_parameters.get("top_p"),
840839
}
841840

842841
# Add structured output support using tools
@@ -910,7 +909,6 @@ def _prepare_text_data(self, call: Any) -> dict:
910909
],
911910
"max_tokens": call.max_tokens,
912911
"temperature": default_parameters.get("temperature"),
913-
"top_p": default_parameters.get("top_p"),
914912
}
915913

916914
# Add structured output support using tools

0 commit comments

Comments
 (0)