2
0

(dify) Make sure Dify also works with agent assistants

This commit is contained in:
Baptiste Arnaud
2024-02-14 08:59:05 +01:00
parent cd488c2384
commit d171aa600c
3 changed files with 73 additions and 11 deletions

View File

@ -148,7 +148,7 @@ export const options = option.object({
defaultValue: defaultOpenAIOptions.temperature,
}),
responseMapping: option
.saveResponseArray(['Message content', 'Total tokens'])
.saveResponseArray(['Message content', 'Total tokens'] as const)
.layout({
accordion: 'Save response',
}),