diff options
| author | sigoden <sigoden@gmail.com> | 2024-03-22 19:24:22 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-22 19:24:22 +0800 |
| commit | 527da63d18def9cec29c89387de988b43acb7d24 (patch) | |
| tree | 368286b2ae7dfc374f43ae8829ab1107399d7c83 /src/config/role.rs | |
| parent | 4d52479545082254315171d6716ee9c3588f76f5 (diff) | |
| download | aichat-527da63d18def9cec29c89387de988b43acb7d24.tar.gz | |
refactor: do not automatically convert temperature value (#368)
Diffstat (limited to 'src/config/role.rs')
| -rw-r--r-- | src/config/role.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config/role.rs b/src/config/role.rs index 7b4a117..8e4a20e 100644 --- a/src/config/role.rs +++ b/src/config/role.rs @@ -16,7 +16,7 @@ pub struct Role { pub name: String, /// Prompt text pub prompt: String, - /// What sampling temperature to use, between 0 and 2 + /// Temperature value pub temperature: Option<f64>, } |
