summaryrefslogtreecommitdiffstats
path: root/src/client/common.rs
AgeCommit message (Collapse)AuthorLines
2023-11-01refactor: add/use openai_compatible_client macrosigoden-13/+56
2023-11-01refactor: clients/* and config.rs (#193)sigoden-0/+314
- 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