fix: set feedback type

old-agentic-v1^2
Philipp Burckhardt 2023-06-16 14:57:55 -04:00
rodzic c91bc4c3f6
commit cdd06e8793
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -221,7 +221,9 @@ export abstract class HumanFeedbackMechanism<
? HumanFeedbackUserActions.Select
: await this._askUser(msg, choices)
const feedback: Record<string, any> = {}
const feedback: Record<string, any> = {
type: this._options.type
}
switch (choice) {
case HumanFeedbackUserActions.Accept: