Skip to content

Commit 5416c93

Browse files
bugfix: fix problem with options not being set #147 (#150)
* bugfix: fix problem with options not being set #147 * chore: allow MPL licenced deps
1 parent 8fda330 commit 5416c93

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

crates/llm-chain/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ macro_rules! options {
138138
{
139139
let mut _opts = $crate::options::Options::builder();
140140
$(
141-
$crate::options::Opt::$opt_name($opt_value.into());
141+
_opts.add_option($crate::options::Opt::$opt_name($opt_value.into()));
142142
)*
143143
_opts.build()
144144
}

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ allow = [
2121
"Unicode-DFS-2016",
2222
"BSD-3-Clause",
2323
"OpenSSL",
24+
"MPL-2.0"
2425
]
2526
copyleft = "deny"
2627
allow-osi-fsf-free = "neither"

0 commit comments

Comments
 (0)