We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f10b29c commit 98c3459Copy full SHA for 98c3459
2 files changed
src/client/client.rs
@@ -40,9 +40,12 @@ impl Client {
40
mod tests {
41
use super::*;
42
use crate::config::{Config, ModelConfig, RoutingMode};
43
+ use dotenvy::from_filename;
44
45
#[test]
46
fn test_client_new() {
47
+ from_filename(".env.test").ok();
48
+
49
struct TestCase {
50
name: &'static str,
51
config: Config,
src/config.rs
@@ -289,6 +289,8 @@ mod tests {
289
290
291
fn test_populate_config() {
292
293
294
let mut valid_cfg = Config::builder()
295
.temperature(0.5)
296
.max_output_tokens(1500)
0 commit comments