get rid of org id, task id, step id, step order and action order from the action history (#1050)
This commit is contained in:
@@ -1217,7 +1217,18 @@ class ForgeAgent:
|
|||||||
return json.dumps(
|
return json.dumps(
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
"action": action.model_dump(exclude_none=True, exclude={"text", "confidence_float"}),
|
"action": action.model_dump(
|
||||||
|
exclude_none=True,
|
||||||
|
exclude={
|
||||||
|
"text",
|
||||||
|
"confidence_float",
|
||||||
|
"organization_id",
|
||||||
|
"task_id",
|
||||||
|
"step_id",
|
||||||
|
"step_order",
|
||||||
|
"action_order",
|
||||||
|
},
|
||||||
|
),
|
||||||
"results": [
|
"results": [
|
||||||
result.model_dump(
|
result.model_dump(
|
||||||
exclude_none=True,
|
exclude_none=True,
|
||||||
|
|||||||
Reference in New Issue
Block a user