From 6455ce83585e07c96203b9657adad4fb7d41c836 Mon Sep 17 00:00:00 2001 From: jinno Date: Sat, 31 Aug 2024 00:02:54 +0900 Subject: [PATCH] fix: disable metadata of CodeInterpreterIntermediateResult --- src/codeinterpreterapi/schema.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/codeinterpreterapi/schema.py b/src/codeinterpreterapi/schema.py index cc1faeff..3171ab80 100644 --- a/src/codeinterpreterapi/schema.py +++ b/src/codeinterpreterapi/schema.py @@ -131,7 +131,7 @@ class CodeInterpreterIntermediateResult(BaseModel): language: str = Field(default="", description="llmやagentからの回答本文") confidence: float = Field(default=0.95, description="現在の回答の信頼度[0.0~1.0], 1.0が最も信頼できる") target_confidence: float = Field(default=0.95, description="目標とする信頼度") - metadata: Dict[str, Any] = Field(default_factory=dict, description="追加のメタデータを格納する辞書") + # metadata: Dict[str, Any] = Field(default_factory=dict, description="追加のメタデータを格納する辞書") iteration_count: int = Field(default=0, description="現在の反復回数") max_iterations: int = Field(default=10, description="最大反復回数")