Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into feat/llm-config
Browse files Browse the repository at this point in the history
  • Loading branch information
beelchester committed Aug 21, 2024
2 parents 4983a0d + eb94104 commit 4549515
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/cli/generator/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -526,11 +526,8 @@ mod tests {
}));
let resolved_config = config.into_resolved("", reader_ctx).unwrap();

let actual = resolved_config.llm;
let expected = Some(LLMConfig {
model: Some("gpt-3.5-turbo".to_string()),
secret: Some(TemplateString::try_from(token).unwrap()),
});
let actual = resolved_config.secret;
let expected = TemplateString::from("eyJhbGciOiJIUzI1NiIsInR5");

assert_eq!(actual, expected);
}
Expand Down

0 comments on commit 4549515

Please sign in to comment.