Fix confidence score in task actions (#458)

This commit is contained in:
Kerem Yilmaz
2024-06-11 11:29:57 -07:00
committed by GitHub
parent a9e4a06263
commit f3478ffc65
2 changed files with 21 additions and 4 deletions

View File

@@ -187,7 +187,7 @@ export type Option = {
export type ActionApiResponse = {
reasoning: string;
confidence_float: number;
confidence_float?: number;
action_type: ActionType;
text: string | null;
option: Option | null;
@@ -196,7 +196,7 @@ export type ActionApiResponse = {
export type Action = {
reasoning: string;
confidence: number;
confidence?: number;
type: ActionType;
input: string;
success: boolean;