Skip to main content

fetch_issue_comments

Function fetch_issue_comments 

Source
pub async fn fetch_issue_comments(
    backend: &dyn ExternalBackend,
    task_id: &str,
    limit: usize,
) -> String
Expand description

Fetch issue comments for agent context.

Fetches all comments for the specific issue using the per-issue API endpoint, then returns the last limit non-bot comments formatted for the prompt.