diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-27 17:14:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-27 17:14:19 +0800 |
| commit | 2eed63f014deae539b22360c44c40e9ab2fef9a0 (patch) | |
| tree | 00d8dd93a01d59ec7f3a8b20cb7a9cfb3d2ee93e /src/client/macros.rs | |
| parent | 2576c04f7d03747550a0c0f1b7ba62b9656a792c (diff) | |
| download | aichat-2eed63f014deae539b22360c44c40e9ab2fef9a0.tar.gz | |
feat: change model patch structure (#754)
Diffstat (limited to 'src/client/macros.rs')
| -rw-r--r-- | src/client/macros.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/macros.rs b/src/client/macros.rs index 344bc92..778daf4 100644 --- a/src/client/macros.rs +++ b/src/client/macros.rs @@ -141,8 +141,8 @@ macro_rules! client_common_fns { self.config.extra.as_ref() } - fn patches_config(&self) -> Option<&$crate::client::ModelPatches> { - self.config.patches.as_ref() + fn patch_config(&self) -> Option<&$crate::client::ModelPatch> { + self.config.patch.as_ref() } fn name(&self) -> &str { |
