m4
b2e28249fd
fix(model-registry): inject async safe clients and split ollama transports
...
Review fixes for the Task 3 contract layer:
- build_chat_model now accepts http_async_client alongside http_client
(at least one required) and wires it into ChatOpenAI
(http_async_client), ChatAnthropic (seeded _async_client), and
ChatOllama (async_client_kwargs transport), closing the unsafe
default-async-client gap.
- ChatOllama safe transports move from the shared client_kwargs to
sync_client_kwargs/async_client_kwargs; langchain-ollama merges shared
kwargs into both clients, which poisoned the async client with a sync
transport and crashed ainvoke.
- Unsupported parameters now actually execute the contract-declared
normalizer (reject_non_auto) instead of a hardcoded raise, with a
fallback rejection if a normalizer would let a value through.
- build_chat_model rejects overlapping client_options/request_options
keys instead of silently overwriting.
2026-07-20 22:40:33 +08:00
..
2026-01-29 17:39:50 +00:00
2026-07-08 18:37:48 +00:00
2026-06-22 13:54:14 +00:00
2026-07-08 18:37:48 +00:00
2026-07-20 22:40:33 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-04-22 18:22:33 +02:00
2026-07-19 12:17:18 +08:00
2026-07-08 18:37:48 +00:00
2026-06-26 22:20:52 +01:00
2026-05-07 16:03:02 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-08 18:38:13 +01:00
2026-07-03 11:16:33 +02:00
2026-06-10 18:19:13 +01:00
2026-07-07 08:25:35 +01:00
2026-07-08 18:37:48 +00:00
2026-03-19 17:04:05 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-05-31 14:43:42 +01:00
2026-04-30 18:06:22 +01:00
2026-07-08 18:37:48 +00:00
2026-07-05 05:14:42 +00:00
2026-07-19 12:17:18 +08:00
2026-07-05 04:53:52 +00:00
2026-04-21 21:26:40 +01:00
2026-03-19 17:04:02 +01:00
2026-07-03 11:16:33 +02:00
2026-07-08 18:37:48 +00:00
2026-06-23 08:40:35 +01:00
2026-07-05 05:14:42 +00:00
2026-07-05 05:14:42 +00:00
2026-07-08 18:37:48 +00:00
2026-07-19 12:17:18 +08:00
2026-07-08 18:37:48 +00:00
2026-06-07 00:52:59 +01:00
2026-07-08 18:37:48 +00:00
2026-05-29 00:40:46 +01:00
2026-07-19 12:17:18 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-03-19 17:04:02 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-20 21:25:15 +08:00
2026-06-22 13:54:14 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-05 05:14:42 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-11 00:23:55 +01:00
2026-07-20 20:15:38 +08:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00
2026-07-20 20:15:38 +08:00
2026-05-05 12:45:50 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-20 20:15:38 +08:00
2026-04-15 14:30:26 +02:00
2026-07-19 12:17:18 +08:00
2026-07-20 22:40:33 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-20 21:25:15 +08:00
2026-07-20 20:43:28 +08:00
2026-07-08 18:37:48 +00:00
2026-07-19 12:17:18 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:28:44 +00:00
2026-04-18 15:01:22 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-16 09:14:29 +02:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00
2026-07-20 20:15:38 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-04-21 21:26:40 +01:00
2026-07-08 18:37:48 +00:00
2026-03-15 21:12:51 +00:00
2026-06-07 00:52:59 +01:00
2026-07-20 20:15:38 +08:00
2026-07-20 21:25:15 +08:00
2026-07-08 18:37:48 +00:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-05-01 13:23:59 +02:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-22 13:54:14 +00:00
2026-06-08 17:14:25 +01:00
2026-06-08 17:14:25 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-08 17:14:25 +01:00
2026-06-08 17:14:25 +01:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-08 17:14:25 +01:00
2026-07-08 18:37:48 +00:00
2026-03-24 18:13:42 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-23 14:47:25 +01:00
2026-03-11 00:03:18 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-07-08 18:37:48 +00:00
2026-06-22 13:54:14 +00:00
2026-03-20 19:57:35 +00:00
2026-07-19 12:17:18 +08:00
2026-07-10 17:35:44 +08:00
2026-07-08 18:37:48 +00:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00
2026-07-19 12:17:18 +08:00