@letta-ai/letta-client 0.1.68 → 0.1.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/agents/client/Client.js +10 -10
- package/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/api/resources/agents/resources/context/client/Client.js +1 -1
- package/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.d.ts +4 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.d.ts +1 -1
- package/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolName.d.ts → AgentsSearchResponseAgentsItemToolRulesItemItemFour.d.ts} +2 -2
- package/{dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.d.ts → api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.d.ts} +1 -1
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +4 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +4 -0
- package/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/api/resources/agents/types/index.d.ts +8 -4
- package/api/resources/agents/types/index.js +8 -4
- package/api/resources/blocks/client/Client.js +6 -6
- package/api/resources/groups/client/Client.js +7 -7
- package/api/resources/health/client/Client.js +1 -1
- package/api/resources/identities/client/Client.js +6 -6
- package/api/resources/jobs/client/Client.js +4 -4
- package/api/resources/models/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +4 -4
- package/api/resources/runs/client/Client.js +7 -7
- package/api/resources/sources/client/Client.js +6 -6
- package/api/resources/sources/resources/files/client/Client.js +3 -3
- package/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/api/resources/steps/client/Client.js +2 -2
- package/api/resources/tag/client/Client.js +1 -1
- package/api/resources/templates/client/Client.js +1 -1
- package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.d.ts → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.d.ts} +2 -2
- package/api/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.d.ts} +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.d.ts +1 -1
- package/api/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.d.ts} +2 -2
- package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.d.ts → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.d.ts} +1 -1
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +9 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +4 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +4 -0
- package/api/resources/templates/types/index.d.ts +8 -4
- package/api/resources/templates/types/index.js +8 -4
- package/api/resources/tools/client/Client.js +16 -16
- package/api/resources/voice/client/Client.js +1 -1
- package/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/api/types/MaxCountPerStepToolRule.d.ts +13 -0
- package/api/types/MaxCountPerStepToolRule.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/agents/client/Client.js +10 -10
- package/dist/api/resources/agents/resources/blocks/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/context/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/coreMemory/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/memoryVariables/client/Client.js +1 -1
- package/dist/api/resources/agents/resources/messages/client/Client.js +5 -5
- package/dist/api/resources/agents/resources/passages/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/sources/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/templates/client/Client.js +3 -3
- package/dist/api/resources/agents/resources/tools/client/Client.js +3 -3
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.d.ts +8 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.d.ts +4 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.d.ts +1 -1
- package/dist/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolName.d.ts → AgentsSearchResponseAgentsItemToolRulesItemItemFour.d.ts} +2 -2
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFour.js +5 -0
- package/{api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.d.ts → dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.d.ts} +1 -1
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +4 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +4 -0
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.js +5 -0
- package/dist/api/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +1 -1
- package/dist/api/resources/agents/types/UpdateAgentToolRulesItem.d.ts +1 -1
- package/dist/api/resources/agents/types/index.d.ts +8 -4
- package/dist/api/resources/agents/types/index.js +8 -4
- package/dist/api/resources/blocks/client/Client.js +6 -6
- package/dist/api/resources/groups/client/Client.js +7 -7
- package/dist/api/resources/health/client/Client.js +1 -1
- package/dist/api/resources/identities/client/Client.js +6 -6
- package/dist/api/resources/jobs/client/Client.js +4 -4
- package/dist/api/resources/models/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +4 -4
- package/dist/api/resources/runs/client/Client.js +7 -7
- package/dist/api/resources/sources/client/Client.js +6 -6
- package/dist/api/resources/sources/resources/files/client/Client.js +3 -3
- package/dist/api/resources/sources/resources/passages/client/Client.js +1 -1
- package/dist/api/resources/steps/client/Client.js +2 -2
- package/dist/api/resources/tag/client/Client.js +1 -1
- package/dist/api/resources/templates/client/Client.js +1 -1
- package/dist/api/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.d.ts} +2 -2
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.js +5 -0
- package/{api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.d.ts → dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.d.ts} +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.d.ts +1 -1
- package/{api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.d.ts → dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.d.ts} +2 -2
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.js +5 -0
- package/dist/api/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.d.ts} +1 -1
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +9 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.js +5 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +4 -0
- package/dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.js +5 -0
- package/dist/api/resources/templates/types/index.d.ts +8 -4
- package/dist/api/resources/templates/types/index.js +8 -4
- package/dist/api/resources/tools/client/Client.js +16 -16
- package/dist/api/resources/voice/client/Client.js +1 -1
- package/dist/api/types/AgentStateToolRulesItem.d.ts +1 -1
- package/dist/api/types/MaxCountPerStepToolRule.d.ts +13 -0
- package/dist/api/types/MaxCountPerStepToolRule.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/dist/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemFour.js} +4 -4
- package/{serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.d.ts → dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.d.ts} +2 -2
- package/{serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.js → dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.js} +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.d.ts +3 -2
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.js +4 -2
- package/dist/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolName.d.ts → AgentsSearchResponseAgentsItemToolRulesItemItemFour.d.ts} +4 -4
- package/dist/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemItemFour.js} +4 -4
- package/dist/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolNameType.d.ts → AgentsSearchResponseAgentsItemToolRulesItemItemFourType.d.ts} +2 -2
- package/{serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.js → dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.js} +2 -2
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.js +46 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +10 -0
- package/dist/serialization/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.js} +3 -3
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.js} +5 -4
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +10 -0
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.js +44 -0
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/dist/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/dist/serialization/resources/agents/types/index.d.ts +8 -4
- package/dist/serialization/resources/agents/types/index.js +8 -4
- package/dist/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.d.ts} +4 -4
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.js +45 -0
- package/dist/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.d.ts} +2 -2
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.js +44 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.d.ts +3 -2
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.js +4 -2
- package/dist/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.d.ts} +4 -4
- package/{serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.js → dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.js} +4 -4
- package/{serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.d.ts → dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.d.ts} +2 -2
- package/{serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.js → dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.js} +2 -2
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.js +44 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +10 -0
- package/dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.js +44 -0
- package/dist/serialization/resources/templates/types/index.d.ts +8 -4
- package/dist/serialization/resources/templates/types/index.js +8 -4
- package/dist/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/dist/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/dist/serialization/types/MaxCountPerStepToolRule.d.ts +14 -0
- package/dist/serialization/types/MaxCountPerStepToolRule.js +45 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.d.ts +14 -0
- package/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemFour.js} +4 -4
- package/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.d.ts → AgentsSearchResponseAgentsItemToolRulesItemFourType.d.ts} +2 -2
- package/{dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.js → serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFourType.js} +2 -2
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.d.ts +3 -2
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.js +4 -2
- package/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolName.d.ts → AgentsSearchResponseAgentsItemToolRulesItemItemFour.d.ts} +4 -4
- package/serialization/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemItemFour.js} +4 -4
- package/{dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.d.ts → serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.d.ts} +2 -2
- package/{dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.js → serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemFourType.js} +2 -2
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.js +46 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.js +44 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +10 -0
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.js +44 -0
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/CreateAgentRequestToolRulesItem.js +2 -0
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.d.ts +2 -1
- package/serialization/resources/agents/types/UpdateAgentToolRulesItem.js +2 -0
- package/serialization/resources/agents/types/index.d.ts +8 -4
- package/serialization/resources/agents/types/index.js +8 -4
- package/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.d.ts} +4 -4
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.js +45 -0
- package/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.d.ts} +2 -2
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.js +44 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.d.ts +3 -2
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem.js +4 -2
- package/serialization/resources/templates/types/{TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.d.ts → TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.d.ts} +4 -4
- package/{dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.js → serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.js} +4 -4
- package/{dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.d.ts → serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.d.ts} +2 -2
- package/{dist/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.js → serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.js} +2 -2
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.js +46 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.js +44 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.d.ts +15 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.js +46 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.d.ts +10 -0
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.js +44 -0
- package/serialization/resources/templates/types/index.d.ts +8 -4
- package/serialization/resources/templates/types/index.js +8 -4
- package/serialization/types/AgentStateToolRulesItem.d.ts +2 -1
- package/serialization/types/AgentStateToolRulesItem.js +2 -0
- package/serialization/types/MaxCountPerStepToolRule.d.ts +14 -0
- package/serialization/types/MaxCountPerStepToolRule.js +45 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.d.ts +0 -4
- package/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolName.d.ts +0 -8
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.d.ts +0 -4
- package/dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolName.d.ts +0 -8
- package/dist/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolName.d.ts +0 -14
- package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolName.d.ts +0 -14
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.js +0 -45
- package/serialization/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.js +0 -44
- /package/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemFour.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.js → AgentsSearchResponseAgentsItemToolRulesItemFourType.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolName.js → AgentsSearchResponseAgentsItemToolRulesItemItemFour.js} +0 -0
- /package/api/resources/agents/types/{AgentsSearchResponseAgentsItemToolRulesItemToolNameType.js → AgentsSearchResponseAgentsItemToolRulesItemItemFourType.js} +0 -0
- /package/api/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.js} +0 -0
- /package/api/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.js} +0 -0
- /package/api/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.js} +0 -0
- /package/api/resources/{templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.js → agents/types/AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.js} +0 -0
- /package/{dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolName.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour.js} +0 -0
- /package/{dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItemToolNameType.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType.js} +0 -0
- /package/{dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolName.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour.js} +0 -0
- /package/{dist/api/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemToolNameType.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType.js} +0 -0
- /package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolName.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit.js} +0 -0
- /package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemToolNameType.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType.js} +0 -0
- /package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolName.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit.js} +0 -0
- /package/{dist/api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemToolNameType.js → api/resources/templates/types/TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType.js} +0 -0
|
@@ -33,8 +33,10 @@ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemChil
|
|
|
33
33
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemChildOutputMappingDefaultChild"), exports);
|
|
34
34
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemChildOutputMappingRequireOutputMapping"), exports);
|
|
35
35
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemChildOutputMapping"), exports);
|
|
36
|
-
__exportStar(require("./
|
|
37
|
-
__exportStar(require("./
|
|
36
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemFourType"), exports);
|
|
37
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemFour"), exports);
|
|
38
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimitType"), exports);
|
|
39
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemMaxCountLimit"), exports);
|
|
38
40
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItem"), exports);
|
|
39
41
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildrenType"), exports);
|
|
40
42
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildren"), exports);
|
|
@@ -47,8 +49,10 @@ __exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem
|
|
|
47
49
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildOutputMappingDefaultChild"), exports);
|
|
48
50
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildOutputMappingRequireOutputMapping"), exports);
|
|
49
51
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemChildOutputMapping"), exports);
|
|
50
|
-
__exportStar(require("./
|
|
51
|
-
__exportStar(require("./
|
|
52
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFourType"), exports);
|
|
53
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemFour"), exports);
|
|
54
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimitType"), exports);
|
|
55
|
+
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItemMaxCountLimit"), exports);
|
|
52
56
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRulesItemItem"), exports);
|
|
53
57
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemToolRules"), exports);
|
|
54
58
|
__exportStar(require("./TemplatesCreateAgentsResponseAgentsItemMessageIdsItem"), exports);
|
|
@@ -8,8 +8,9 @@ import { ConditionalToolRule } from "./ConditionalToolRule";
|
|
|
8
8
|
import { ChildToolRule } from "./ChildToolRule";
|
|
9
9
|
import { ContinueToolRule } from "./ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "./TerminalToolRule";
|
|
11
|
+
import { MaxCountPerStepToolRule } from "./MaxCountPerStepToolRule";
|
|
11
12
|
import { InitToolRule } from "./InitToolRule";
|
|
12
13
|
export declare const AgentStateToolRulesItem: core.serialization.Schema<serializers.AgentStateToolRulesItem.Raw, Letta.AgentStateToolRulesItem>;
|
|
13
14
|
export declare namespace AgentStateToolRulesItem {
|
|
14
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | InitToolRule.Raw;
|
|
15
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
15
16
|
}
|
|
@@ -42,11 +42,13 @@ const ConditionalToolRule_1 = require("./ConditionalToolRule");
|
|
|
42
42
|
const ChildToolRule_1 = require("./ChildToolRule");
|
|
43
43
|
const ContinueToolRule_1 = require("./ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("./TerminalToolRule");
|
|
45
|
+
const MaxCountPerStepToolRule_1 = require("./MaxCountPerStepToolRule");
|
|
45
46
|
const InitToolRule_1 = require("./InitToolRule");
|
|
46
47
|
exports.AgentStateToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
47
48
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
48
49
|
ChildToolRule_1.ChildToolRule,
|
|
49
50
|
ContinueToolRule_1.ContinueToolRule,
|
|
50
51
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
|
+
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
51
53
|
InitToolRule_1.InitToolRule,
|
|
52
54
|
]);
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Letta from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const MaxCountPerStepToolRule: core.serialization.ObjectSchema<serializers.MaxCountPerStepToolRule.Raw, Letta.MaxCountPerStepToolRule>;
|
|
8
|
+
export declare namespace MaxCountPerStepToolRule {
|
|
9
|
+
interface Raw {
|
|
10
|
+
tool_name: string;
|
|
11
|
+
type: "max_count_per_step";
|
|
12
|
+
max_count_limit: number;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.MaxCountPerStepToolRule = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.MaxCountPerStepToolRule = core.serialization.object({
|
|
42
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
43
|
+
type: core.serialization.stringLiteral("max_count_per_step"),
|
|
44
|
+
maxCountLimit: core.serialization.property("max_count_limit", core.serialization.number()),
|
|
45
|
+
});
|
|
@@ -118,6 +118,7 @@ export * from "./LocalSandboxConfig";
|
|
|
118
118
|
export * from "./McpServerType";
|
|
119
119
|
export * from "./McpTool";
|
|
120
120
|
export * from "./ManagerType";
|
|
121
|
+
export * from "./MaxCountPerStepToolRule";
|
|
121
122
|
export * from "./Memory";
|
|
122
123
|
export * from "./MessageContentItem";
|
|
123
124
|
export * from "./Message";
|
|
@@ -134,6 +134,7 @@ __exportStar(require("./LocalSandboxConfig"), exports);
|
|
|
134
134
|
__exportStar(require("./McpServerType"), exports);
|
|
135
135
|
__exportStar(require("./McpTool"), exports);
|
|
136
136
|
__exportStar(require("./ManagerType"), exports);
|
|
137
|
+
__exportStar(require("./MaxCountPerStepToolRule"), exports);
|
|
137
138
|
__exportStar(require("./Memory"), exports);
|
|
138
139
|
__exportStar(require("./MessageContentItem"), exports);
|
|
139
140
|
__exportStar(require("./Message"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.1.
|
|
1
|
+
export declare const SDK_VERSION = "0.1.69";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemFour.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemFourType } from "./AgentsSearchResponseAgentsItemToolRulesItemFourType";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemFour: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItemToolRulesItemFour.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemFour>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemFour {
|
|
10
|
+
interface Raw {
|
|
11
|
+
tool_name: string;
|
|
12
|
+
type?: AgentsSearchResponseAgentsItemToolRulesItemFourType.Raw | null;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemFour = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
exports.
|
|
41
|
+
const AgentsSearchResponseAgentsItemToolRulesItemFourType_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemFourType");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemFour = core.serialization.object({
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
|
-
type:
|
|
44
|
+
type: AgentsSearchResponseAgentsItemToolRulesItemFourType_1.AgentsSearchResponseAgentsItemToolRulesItemFourType.optional(),
|
|
45
45
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemFourType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemToolRulesItemFourType.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemFourType>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemFourType {
|
|
9
9
|
type Raw = "continue_loop" | unknown;
|
|
10
10
|
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemFourType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemFourType = core.serialization.undiscriminatedUnion([
|
|
42
42
|
core.serialization.stringLiteral("continue_loop"),
|
|
43
43
|
core.serialization.unknown(),
|
|
44
44
|
]);
|
package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.d.ts
CHANGED
|
@@ -8,8 +8,9 @@ import { AgentsSearchResponseAgentsItemToolRulesItemItemChildren } from "./Agent
|
|
|
8
8
|
import { AgentsSearchResponseAgentsItemToolRulesItemItemOne } from "./AgentsSearchResponseAgentsItemToolRulesItemItemOne";
|
|
9
9
|
import { AgentsSearchResponseAgentsItemToolRulesItemItemTwo } from "./AgentsSearchResponseAgentsItemToolRulesItemItemTwo";
|
|
10
10
|
import { AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping } from "./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping";
|
|
11
|
-
import {
|
|
11
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemItemFour } from "./AgentsSearchResponseAgentsItemToolRulesItemItemFour";
|
|
12
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit } from "./AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit";
|
|
12
13
|
export declare const AgentsSearchResponseAgentsItemToolRulesItemItem: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemToolRulesItemItem.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemItem>;
|
|
13
14
|
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItem {
|
|
14
|
-
type Raw = AgentsSearchResponseAgentsItemToolRulesItemItemChildren.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemOne.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemTwo.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.Raw |
|
|
15
|
+
type Raw = AgentsSearchResponseAgentsItemToolRulesItemItemChildren.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemOne.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemTwo.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemFour.Raw | AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.Raw;
|
|
15
16
|
}
|
package/serialization/resources/agents/types/AgentsSearchResponseAgentsItemToolRulesItemItem.js
CHANGED
|
@@ -42,11 +42,13 @@ const AgentsSearchResponseAgentsItemToolRulesItemItemChildren_1 = require("./Age
|
|
|
42
42
|
const AgentsSearchResponseAgentsItemToolRulesItemItemOne_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemOne");
|
|
43
43
|
const AgentsSearchResponseAgentsItemToolRulesItemItemTwo_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemTwo");
|
|
44
44
|
const AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping");
|
|
45
|
-
const
|
|
45
|
+
const AgentsSearchResponseAgentsItemToolRulesItemItemFour_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemFour");
|
|
46
|
+
const AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit");
|
|
46
47
|
exports.AgentsSearchResponseAgentsItemToolRulesItemItem = core.serialization.undiscriminatedUnion([
|
|
47
48
|
AgentsSearchResponseAgentsItemToolRulesItemItemChildren_1.AgentsSearchResponseAgentsItemToolRulesItemItemChildren,
|
|
48
49
|
AgentsSearchResponseAgentsItemToolRulesItemItemOne_1.AgentsSearchResponseAgentsItemToolRulesItemItemOne,
|
|
49
50
|
AgentsSearchResponseAgentsItemToolRulesItemItemTwo_1.AgentsSearchResponseAgentsItemToolRulesItemItemTwo,
|
|
50
51
|
AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping_1.AgentsSearchResponseAgentsItemToolRulesItemItemChildOutputMapping,
|
|
51
|
-
|
|
52
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemFour_1.AgentsSearchResponseAgentsItemToolRulesItemItemFour,
|
|
53
|
+
AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit_1.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit,
|
|
52
54
|
]);
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
import {
|
|
8
|
-
export declare const
|
|
9
|
-
export declare namespace
|
|
7
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemItemFourType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemFourType";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemItemFour: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItemToolRulesItemItemFour.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemItemFour>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemFour {
|
|
10
10
|
interface Raw {
|
|
11
11
|
tool_name: string;
|
|
12
|
-
type?:
|
|
12
|
+
type?: AgentsSearchResponseAgentsItemToolRulesItemItemFourType.Raw | null;
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -36,10 +36,10 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemFour = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
const
|
|
42
|
-
exports.
|
|
41
|
+
const AgentsSearchResponseAgentsItemToolRulesItemItemFourType_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemFourType");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemFour = core.serialization.object({
|
|
43
43
|
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
|
-
type:
|
|
44
|
+
type: AgentsSearchResponseAgentsItemToolRulesItemItemFourType_1.AgentsSearchResponseAgentsItemToolRulesItemItemFourType.optional(),
|
|
45
45
|
});
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../../../index";
|
|
5
5
|
import * as Letta from "../../../../api/index";
|
|
6
6
|
import * as core from "../../../../core";
|
|
7
|
-
export declare const
|
|
8
|
-
export declare namespace
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemItemFourType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemToolRulesItemItemFourType.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemItemFourType>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemFourType {
|
|
9
9
|
type Raw = "continue_loop" | unknown;
|
|
10
10
|
}
|
|
@@ -36,9 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemFourType = void 0;
|
|
40
40
|
const core = __importStar(require("../../../../core"));
|
|
41
|
-
exports.
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemFourType = core.serialization.undiscriminatedUnion([
|
|
42
42
|
core.serialization.stringLiteral("continue_loop"),
|
|
43
43
|
core.serialization.unknown(),
|
|
44
44
|
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType } from "./AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit {
|
|
10
|
+
interface Raw {
|
|
11
|
+
tool_name: string;
|
|
12
|
+
type?: AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.Raw | null;
|
|
13
|
+
max_count_limit: number;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimit = core.serialization.object({
|
|
43
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
|
+
type: AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType_1.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.optional(),
|
|
45
|
+
maxCountLimit: core.serialization.property("max_count_limit", core.serialization.number()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType {
|
|
9
|
+
type Raw = "max_count_per_step" | unknown;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemItemMaxCountLimitType = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.stringLiteral("max_count_per_step"),
|
|
43
|
+
core.serialization.unknown(),
|
|
44
|
+
]);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
import { AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType } from "./AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType";
|
|
8
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit: core.serialization.ObjectSchema<serializers.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit>;
|
|
9
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit {
|
|
10
|
+
interface Raw {
|
|
11
|
+
tool_name: string;
|
|
12
|
+
type?: AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.Raw | null;
|
|
13
|
+
max_count_limit: number;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType_1 = require("./AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType");
|
|
42
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimit = core.serialization.object({
|
|
43
|
+
toolName: core.serialization.property("tool_name", core.serialization.string()),
|
|
44
|
+
type: AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType_1.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.optional(),
|
|
45
|
+
maxCountLimit: core.serialization.property("max_count_limit", core.serialization.number()),
|
|
46
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../index";
|
|
5
|
+
import * as Letta from "../../../../api/index";
|
|
6
|
+
import * as core from "../../../../core";
|
|
7
|
+
export declare const AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType: core.serialization.Schema<serializers.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType.Raw, Letta.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType>;
|
|
8
|
+
export declare namespace AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType {
|
|
9
|
+
type Raw = "max_count_per_step" | unknown;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
exports.AgentsSearchResponseAgentsItemToolRulesItemMaxCountLimitType = core.serialization.undiscriminatedUnion([
|
|
42
|
+
core.serialization.stringLiteral("max_count_per_step"),
|
|
43
|
+
core.serialization.unknown(),
|
|
44
|
+
]);
|
|
@@ -8,8 +8,9 @@ import { ConditionalToolRule } from "../../../types/ConditionalToolRule";
|
|
|
8
8
|
import { ChildToolRule } from "../../../types/ChildToolRule";
|
|
9
9
|
import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
|
+
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
11
12
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
12
13
|
export declare const CreateAgentRequestToolRulesItem: core.serialization.Schema<serializers.CreateAgentRequestToolRulesItem.Raw, Letta.CreateAgentRequestToolRulesItem>;
|
|
13
14
|
export declare namespace CreateAgentRequestToolRulesItem {
|
|
14
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | InitToolRule.Raw;
|
|
15
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
15
16
|
}
|
|
@@ -42,11 +42,13 @@ const ConditionalToolRule_1 = require("../../../types/ConditionalToolRule");
|
|
|
42
42
|
const ChildToolRule_1 = require("../../../types/ChildToolRule");
|
|
43
43
|
const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
|
+
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
45
46
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
46
47
|
exports.CreateAgentRequestToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
47
48
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
48
49
|
ChildToolRule_1.ChildToolRule,
|
|
49
50
|
ContinueToolRule_1.ContinueToolRule,
|
|
50
51
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
|
+
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
51
53
|
InitToolRule_1.InitToolRule,
|
|
52
54
|
]);
|
|
@@ -8,8 +8,9 @@ import { ConditionalToolRule } from "../../../types/ConditionalToolRule";
|
|
|
8
8
|
import { ChildToolRule } from "../../../types/ChildToolRule";
|
|
9
9
|
import { ContinueToolRule } from "../../../types/ContinueToolRule";
|
|
10
10
|
import { TerminalToolRule } from "../../../types/TerminalToolRule";
|
|
11
|
+
import { MaxCountPerStepToolRule } from "../../../types/MaxCountPerStepToolRule";
|
|
11
12
|
import { InitToolRule } from "../../../types/InitToolRule";
|
|
12
13
|
export declare const UpdateAgentToolRulesItem: core.serialization.Schema<serializers.UpdateAgentToolRulesItem.Raw, Letta.UpdateAgentToolRulesItem>;
|
|
13
14
|
export declare namespace UpdateAgentToolRulesItem {
|
|
14
|
-
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | InitToolRule.Raw;
|
|
15
|
+
type Raw = ConditionalToolRule.Raw | ChildToolRule.Raw | ContinueToolRule.Raw | TerminalToolRule.Raw | MaxCountPerStepToolRule.Raw | InitToolRule.Raw;
|
|
15
16
|
}
|
|
@@ -42,11 +42,13 @@ const ConditionalToolRule_1 = require("../../../types/ConditionalToolRule");
|
|
|
42
42
|
const ChildToolRule_1 = require("../../../types/ChildToolRule");
|
|
43
43
|
const ContinueToolRule_1 = require("../../../types/ContinueToolRule");
|
|
44
44
|
const TerminalToolRule_1 = require("../../../types/TerminalToolRule");
|
|
45
|
+
const MaxCountPerStepToolRule_1 = require("../../../types/MaxCountPerStepToolRule");
|
|
45
46
|
const InitToolRule_1 = require("../../../types/InitToolRule");
|
|
46
47
|
exports.UpdateAgentToolRulesItem = core.serialization.undiscriminatedUnion([
|
|
47
48
|
ConditionalToolRule_1.ConditionalToolRule,
|
|
48
49
|
ChildToolRule_1.ChildToolRule,
|
|
49
50
|
ContinueToolRule_1.ContinueToolRule,
|
|
50
51
|
TerminalToolRule_1.TerminalToolRule,
|
|
52
|
+
MaxCountPerStepToolRule_1.MaxCountPerStepToolRule,
|
|
51
53
|
InitToolRule_1.InitToolRule,
|
|
52
54
|
]);
|