summaryrefslogtreecommitdiffstats
path: root/src/client/azure_openai.rs
AgeCommit message (Collapse)AuthorLines
2023-11-01refactor: add/use openai_compatible_client macrosigoden-26/+3
2023-11-01refactor: clients/* and config.rs (#193)sigoden-61/+21
- add register_clients macro to make it easier to add a new client - no create_client_config, just add const PROMPTS - move ModelInfo from clients/ to config/ - model's max_tokens are optional - improve code quanity on config/mod.rs - add/use macro config_get_fn
2023-10-31feat: improve client (#189)sigoden-94/+51
2023-10-31feat: support azure-openai (#166)sigoden-0/+184