Skip to content

Tasks per context and tasks in message history #89

@birdayz

Description

@birdayz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions