Skip to content

Commit

Permalink
feat:Handling images attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Nov 24, 2023
1 parent 11479fb commit 726d8c2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/LLM/Functions.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,12 @@ multi sub llm-configuration(LLM::Functions::Configuration $conf, *%args) {
$newConf.stop-tokens = |$newConf.stop-tokens.&reallyflat;
}

if %args<images>:exists {
$newConf.images = %args<images>.&reallyflat;
} else {
$newConf.images = $newConf.images.&reallyflat;
}

# Result
return $newConf;
}
Expand Down

0 comments on commit 726d8c2

Please sign in to comment.