Disable DeepSeek thinking when a tool is forced.

Auto-resolve of passives was 400ing because thinking mode cannot be combined with named tool_choice. Also strip BOM descriptions after an em dash before DigiKey search.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-28 01:58:22 +02:00
co-authored by Cursor
parent 776d714754
commit 27a3ce8bd0
5 changed files with 76 additions and 6 deletions
+2 -2
View File
@@ -39,8 +39,8 @@ def test_mpn_catalog_match_orderable_suffix():
def test_mpn_query_variants_underscore_and_reel():
variants = mpn_query_variants("25AA1024-I_SM")
assert "25AA1024-I/SM" in variants
variants = mpn_query_variants("ADAU1467WBCPZ300R")
assert "ADAU1467WBCPZ300" in variants
variants = mpn_query_variants("RC0805FR-0733RL — 33 Ω — 1% — 0805")
assert "RC0805FR-0733RL" in variants
def test_pick_lcsc_family_orderable():