how could i get hold of the tasks created / active within a context_id ?
the task manager does not store a message about "started a task" if a task is created. So in the next turn, the assistant does not know it already started a task for a request. this can lead to surprising results, e.g. it starts it again.
i don't see an option to List all (open) tasks for a context either, so i can't just dump this into the prompt before calling the LLM either.
i wonder how people are dealing with this? i could write custom extensions for the storage layer, that adds an assistant message if a task is created. or have a custom storage method that allows looking up tasks per context id.
how could i get hold of the tasks created / active within a context_id ?
the task manager does not store a message about "started a task" if a task is created. So in the next turn, the assistant does not know it already started a task for a request. this can lead to surprising results, e.g. it starts it again.
i don't see an option to List all (open) tasks for a context either, so i can't just dump this into the prompt before calling the LLM either.
i wonder how people are dealing with this? i could write custom extensions for the storage layer, that adds an assistant message if a task is created. or have a custom storage method that allows looking up tasks per context id.