Skip to content
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

feat(agents-api): Add temporal workflow lookup relation and queries #446

Merged
merged 4 commits into from
Aug 5, 2024

Conversation

creatorrr
Copy link
Contributor

@creatorrr creatorrr commented Aug 5, 2024

  • fix(agents-api): Fix execution endpoints
  • feat(agents-api): Add temporal workflow lookup relation and queries

🚀 This description was created by Ellipsis for commit 24418f9

Summary:

Added temporal workflow lookup relation and queries, fixed execution endpoints, and updated models and functions in agents-api.

Key points:

  • Added: Temporal workflow lookup relation and queries in agents-api/agents_api/models/execution/create_execution.py.
  • Added: get_temporal_workflow_data function in agents-api/agents_api/models/execution/get_temporal_workflow_data.py.
  • Added: get_paused_execution_token function in agents-api/agents_api/models/execution/get_paused_execution_token.py to handle paused execution tokens.
  • Fixed: Execution endpoints in agents-api/agents_api/autogen/Executions.py.
  • Updated: ExecutionsRoute and PublicEndpoints in typespec/executions/endpoints.tsp.
  • Updated: TaskTokenResumeExecutionRequest model in typespec/executions/models.tsp.
  • Updated: executions_route_resume_with_task_token and executions_route_update functions in sdks/python/julep/api/client.py.
  • Updated: Executions_TaskTokenResumeExecutionRequest model in sdks/ts/src/api/models/Executions_TaskTokenResumeExecutionRequest.ts.
  • Updated: executionsRouteResumeWithTaskToken and executionsRouteUpdate functions in sdks/ts/src/api/services/DefaultService.ts.
  • Added: Migration script migrations/migrate_1722875101_add_temporal_mapping.py.

Generated with ❤️ by ellipsis.dev

Diwank Tomer added 2 commits August 5, 2024 12:24
Signed-off-by: Diwank Tomer <diwank@julep.ai>
Signed-off-by: Diwank Tomer <diwank@julep.ai>
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 94e7301 in 1 minute and 8 seconds

More details
  • Looked at 1395 lines of code in 15 files
  • Skipped 2 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. sdks/ts/src/api/services/DefaultService.ts:812
  • Draft comment:
    The TypeScript SDK does not reflect the new temporal workflow lookup relation and queries mentioned in the PR description. Please ensure that the SDK is updated accordingly to expose the new functionalities.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_UMiivokyDG9bb1IZ


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

Signed-off-by: Diwank Tomer <diwank@julep.ai>
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Incremental review on f38458e in 49 seconds

More details
  • Looked at 77 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 0 drafted comments based on config settings.

Workflow ID: wflow_MqeTvPCPdwX73l59


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.


"""

get_query += filter
Copy link
Contributor

Choose a reason for hiding this comment

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

The variable filter is used here but it is not defined anywhere in this file. This will cause a NameError at runtime.

Signed-off-by: Diwank Tomer <diwank@julep.ai>
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Incremental review on 24418f9 in 50 seconds

More details
  • Looked at 16 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. agents-api/agents_api/models/execution/get_paused_execution_token.py:61
  • Draft comment:
    The removal of get_query += filter might have altered the intended query logic. Ensure that all necessary conditions are included in the get_query string to maintain correct functionality.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_EQmhmh9p96UeVjKn


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

@whiterabbit1983 whiterabbit1983 merged commit 41e5df8 into dev-tasks-disable-routes Aug 5, 2024
2 of 6 checks passed
@whiterabbit1983 whiterabbit1983 deleted the x/execution-endpoints branch August 5, 2024 18:29
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