kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
fix: set feedback type
rodzic
5875a8858f
commit
5a32b6140b
|
@ -221,7 +221,9 @@ export abstract class HumanFeedbackMechanism<
|
||||||
? HumanFeedbackUserActions.Select
|
? HumanFeedbackUserActions.Select
|
||||||
: await this._askUser(msg, choices)
|
: await this._askUser(msg, choices)
|
||||||
|
|
||||||
const feedback: Record<string, any> = {}
|
const feedback: Record<string, any> = {
|
||||||
|
type: this._options.type
|
||||||
|
}
|
||||||
|
|
||||||
switch (choice) {
|
switch (choice) {
|
||||||
case HumanFeedbackUserActions.Accept:
|
case HumanFeedbackUserActions.Accept:
|
||||||
|
|
Ładowanie…
Reference in New Issue