feat(crouton): add orgId, userId, Compaction_Settings and LLM_Config (#9022)

* LC one shot?

* api changes

* fix summarizer nameerror
This commit is contained in:
Kian Jones
2026-01-21 21:57:22 -08:00
committed by Caren Thomas
parent 194fa7d1c6
commit e3fb00f970
18 changed files with 257 additions and 4 deletions

View File

@@ -39340,13 +39340,51 @@
],
"title": "Source",
"description": "Source service that generated this trace (memgpt-server, lettuce-py)"
},
"org_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Org Id",
"description": "ID of the organization"
},
"compaction_settings": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Compaction Settings",
"description": "Compaction/summarization settings (summarization calls only)"
},
"llm_config": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Llm Config",
"description": "LLM configuration used for this call (non-summarization calls only)"
}
},
"additionalProperties": false,
"type": "object",
"required": ["request_json", "response_json"],
"title": "ProviderTrace",
"description": "Letta's internal representation of a provider trace.\n\nAttributes:\n id (str): The unique identifier of the provider trace.\n request_json (Dict[str, Any]): JSON content of the provider request.\n response_json (Dict[str, Any]): JSON content of the provider response.\n step_id (str): ID of the step that this trace is associated with.\n agent_id (str): ID of the agent that generated this trace.\n agent_tags (list[str]): Tags associated with the agent for filtering.\n call_type (str): Type of call (agent_step, summarization, etc.).\n run_id (str): ID of the run this trace is associated with.\n source (str): Source service that generated this trace (memgpt-server, lettuce-py).\n organization_id (str): The unique identifier of the organization.\n created_at (datetime): The timestamp when the object was created."
"description": "Letta's internal representation of a provider trace.\n\nAttributes:\n id (str): The unique identifier of the provider trace.\n request_json (Dict[str, Any]): JSON content of the provider request.\n response_json (Dict[str, Any]): JSON content of the provider response.\n step_id (str): ID of the step that this trace is associated with.\n agent_id (str): ID of the agent that generated this trace.\n agent_tags (list[str]): Tags associated with the agent for filtering.\n call_type (str): Type of call (agent_step, summarization, etc.).\n run_id (str): ID of the run this trace is associated with.\n source (str): Source service that generated this trace (memgpt-server, lettuce-py).\n organization_id (str): The unique identifier of the organization.\n user_id (str): The unique identifier of the user who initiated the request.\n compaction_settings (Dict[str, Any]): Compaction/summarization settings (only for summarization calls).\n llm_config (Dict[str, Any]): LLM configuration used for this call (only for non-summarization calls).\n created_at (datetime): The timestamp when the object was created."
},
"ProviderType": {
"type": "string",