summaryrefslogtreecommitdiffstats
path: root/src/client/macros.rs
AgeCommit message (Collapse)AuthorLines
2026-10-21Thread idempotency key through the request pathdev-4/+6
Propagate the per-request Idempotency-Key (generated once in the retry loop) through request construction so every retry attempt reuses the same key rather than minting a new one. - Add field to ChatCompletionsData. - Generate a single key per logical request in chat_completions and chat_completions_streaming. - Thread the key through request_builder (macro-based clients), Bedrock, and VertexAI so the header is attached once and reused on retries.
2025-07-28feat: env vars take precedence over client config (#1361)sigoden-8/+6
2025-02-10feat: supports fetching models during configuration initialization (#1161)sigoden-3/+3
2025-02-08feat: supports selecting LLM during configuration initialization (#1158)sigoden-2/+2
2025-01-22feat: add `--sync-models` cli option (#1114)sigoden-4/+4
2025-01-21refactor: optimize configuration initialization (#1110)sigoden-1/+1
2024-12-04refactor: improve retrieve model (#1036)sigoden-18/+27
- check the model type while retrieve model - select chat/reranker model even if it is missed in client models - find predefined-models for openai-compatible client with startsWith - remove client::ApiType
2024-11-29chore: clippy for the new rust version (#1018)sigoden-7/+6
2024-09-24refactor: embeddings/rerank fn accept ref data (#878)sigoden-2/+2
2024-07-28feat: abandon rag_dedicated client and improve (#757)sigoden-78/+16
2024-07-27feat: support patching request url, headers and body (#756)sigoden-10/+19
2024-07-27feat: change model patch structure (#754)sigoden-2/+2
2024-07-27refactor: split clients/macros.rs from clients/common.rs (#750)sigoden-0/+292