Skip to content

Fixed attribute name when continuing a task #21

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Conversation

maykcaldas
Copy link
Collaborator

No description provided.

@maykcaldas maykcaldas enabled auto-merge (squash) June 13, 2025 00:23
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR corrects the attribute name used when continuing a task by renaming the runtime configuration key in the README example.

  • Renamed continued_task_id to continued_job_id in the sample runtime_config.
  • Ensures the example matches the updated API parameter.
Comments suppressed due to low confidence (2)

README.md:252

  • Add or update a test case that validates the new continued_job_id configuration to ensure the continuation logic is properly covered.
"runtime_config": {"continued_job_id": task_id},

README.md:252

  • Consider updating other documentation or code examples that reference continued_task_id to ensure consistency across the codebase.
"runtime_config": {"continued_job_id": task_id},

@maykcaldas maykcaldas merged commit 7d2fc6c into main Jun 13, 2025
5 checks passed
@maykcaldas maykcaldas deleted the fix-continuation branch June 13, 2025 00:41
@@ -249,7 +249,7 @@ task_id = client.create_task(task_data)
continued_task_data = {
"name": JobNames.CROW,
"query": "From the previous answer, specifically,how many species of crows are there?",
"runtime_config": {"continued_task_id": task_id},
"runtime_config": {"continued_job_id": task_id},

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It occurs to me that continued_task_id is actually the more idiomatic name, but that's a bigger change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree. In our definitions, job is the agent+environment. When we invoke a job to run a query, we call it a task. But this needs to be changed somewhere else first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants