Ruben Fiszel and Claude Opus 4.8
ad53673a28
fix(ai-chat): improve resource-type search tool description and scoring ( #10272 )
...
The global-mode search_resource_types tool described its query as a
substring match, but the backend does semantic embedding search. Rewrite
the description so the LLM sends natural-language intent instead of literal
name guesses.
Apply the top-score trim to query_resource_types so a strong match isn't
diluted by weakly-related types that merely clear the 0.75 similarity floor.
The trim was previously inlined only in query_hub_scripts; extract it into a
shared trim_to_top_score helper, use it from both search paths, and add a
unit test pinning the 5% cutoff boundary.
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-23 00:54:18 +02:00
..
2026-07-08 12:01:05 +00:00
2026-06-03 17:27:24 +00:00
2026-06-18 18:09:02 +02:00
2026-07-23 00:54:18 +02:00
2026-04-10 14:26:33 +00:00
2026-03-26 09:51:34 +00:00
2026-04-24 12:52:25 +00:00
2026-06-15 10:23:16 +02:00
2026-07-20 20:56:57 +02:00
2026-06-12 00:18:22 +02:00
2026-07-07 14:27:00 +02:00
2026-07-21 17:06:32 +00:00
2026-07-21 17:06:32 +00:00
2026-07-14 22:33:16 +02:00
2026-07-22 13:00:01 +02:00
2026-07-15 17:55:01 +02:00
2026-07-15 17:55:01 +02:00
2026-05-24 23:41:18 +00:00
2026-06-15 10:23:16 +02:00
2026-06-15 10:23:16 +02:00
2026-07-11 15:50:41 +02:00
2026-06-01 23:29:19 +00:00
2026-06-24 09:23:14 +02:00
2026-05-19 13:02:09 +00:00
2026-06-15 10:23:16 +02:00
2026-05-07 13:21:23 +00:00
2026-06-05 14:50:07 +00:00
2026-07-21 14:35:59 +00:00
2026-07-21 14:35:59 +00:00
2026-06-18 18:09:02 +02:00
2026-05-22 21:01:15 +00:00
2026-07-21 17:07:52 +00:00
2026-04-08 12:43:41 +00:00
2026-07-10 13:51:16 +00:00
2026-07-17 19:36:51 +02:00
2026-06-15 10:23:16 +02:00
2026-06-16 10:25:11 +02:00
2026-06-16 10:25:11 +02:00
2026-07-21 07:34:44 +02:00
2026-07-11 15:50:41 +02:00
2026-07-11 15:50:41 +02:00
2026-07-07 17:21:34 +00:00
2026-07-07 17:21:34 +00:00
2026-07-15 17:56:19 +02:00
2026-07-15 17:56:19 +02:00
2026-07-09 01:53:43 +02:00
2026-06-24 17:10:21 +00:00
2026-06-03 17:27:24 +00:00
2026-07-21 10:53:52 +00:00
2026-07-21 15:10:29 +00:00
2026-07-10 13:51:16 +00:00
2026-07-17 15:13:36 +02:00
2026-05-20 14:58:26 +00:00
2026-06-15 10:23:16 +02:00
2026-07-07 17:21:34 +00:00
2026-06-16 10:25:11 +02:00
2026-03-27 19:39:55 +00:00
2026-07-21 15:10:29 +00:00
2026-06-16 17:49:45 +02:00
2026-07-21 15:10:29 +00:00
2026-07-21 17:06:32 +00:00
2026-07-15 17:55:01 +02:00
2026-07-21 17:06:32 +00:00
2026-06-23 09:27:02 +02:00
2026-06-23 09:27:02 +02:00
2026-06-16 14:12:08 +02:00
2026-06-19 11:21:24 +00:00
2026-06-15 10:23:16 +02:00
2026-06-15 10:23:16 +02:00
2026-06-15 12:31:12 +02:00
2026-06-15 12:31:12 +02:00
2026-06-15 12:31:12 +02:00
2026-06-15 12:31:12 +02:00
2026-07-21 15:10:29 +00:00
2026-07-06 09:23:54 +02:00
2026-07-21 17:06:32 +00:00
2026-07-07 08:25:16 +00:00
2026-07-15 17:33:42 +02:00
2026-07-17 19:36:51 +02:00
2026-06-02 22:10:16 +00:00
2026-07-21 17:06:32 +00:00
2026-07-21 17:06:32 +00:00
2026-07-21 17:06:32 +00:00
2026-07-15 10:01:35 +02:00