remove action.text from action history in the prompt (#432)
This commit is contained in:
@@ -854,7 +854,7 @@ class ForgeAgent:
|
||||
return json.dumps(
|
||||
[
|
||||
{
|
||||
"action": action.model_dump(exclude_none=True),
|
||||
"action": action.model_dump(exclude_none=True, exclude={"text"}),
|
||||
"results": [
|
||||
result.model_dump(
|
||||
exclude_none=True,
|
||||
|
||||
Reference in New Issue
Block a user