mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
feat: enhance llm helper support
This commit is contained in:
@@ -75,7 +75,10 @@ export class OllamaPlugin extends BaseBlockPlugin<typeof SETTINGS> {
|
||||
|
||||
const options = this.settings
|
||||
.filter(
|
||||
(setting) => 'subgroup' in setting && setting.subgroup === 'options',
|
||||
(setting) =>
|
||||
'subgroup' in setting &&
|
||||
setting.subgroup === 'options' &&
|
||||
setting.value !== null,
|
||||
)
|
||||
.reduce((acc, { label }) => {
|
||||
acc[label] = args[label];
|
||||
|
||||
Reference in New Issue
Block a user