mirror of
https://github.com/run-llama/llama_deploy.git
synced 2026-08-25 10:39:36 -04:00
[cleanup] - remove opinionated interfaces #58
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @logan-markewich on GitHub (Aug 7, 2024).
There are a few classes that have some very opinionated fields. I think as we move towards integrating workflows and making llama-agents more general, we can rely on the caller of services to provide specific details in the input (either in the task input or task state), rather than relying on other hardcoded fields
I'll come back to this and update if I find more, but current list of interfaces to clean up
TaskResult.history-- this is way to specific to agents, it should either be in the task result or in the task stateServiceDefinition.prompt-- this isn't really used at all anyways, and feels way too opinionated. This could be provided in the task definition as neededtoolsas an argument to the orchestrator (it can be in the state if needed)agent_idin the task definition should beservice_name