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

v1 Update #66

Merged
merged 15 commits into from
Sep 20, 2023
Merged

v1 Update #66

merged 15 commits into from
Sep 20, 2023

Conversation

jzanecook
Copy link
Collaborator

@jzanecook jzanecook commented Sep 18, 2023

  • Move SDKs to their own repos.
  • Add /ap/v1/ to all endpoints
  • Minor changes to schema
  • Edit testing suite for v1, removing some routes that are specific to generalist agents and not the given examples

@@ -1632,7 +1632,7 @@ def upload_agent_task_artifacts_with_http_info(
}

return self.api_client.call_api(
"/agent/tasks/{task_id}/artifacts",
Copy link
Contributor

Choose a reason for hiding this comment

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

could we move those version into an env variable? So that future changes can be easier?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We likely can, yes. I want to move the client into its own repository as well.


agent_protocol_contract_testing_results=$?
newman run https://raw.githubusercontent.com/AI-Engineers-Foundation/agent-protocol/main/testing_suite/agent_protocol_v1.json \
Copy link
Contributor

Choose a reason for hiding this comment

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

this URL shows up as empty for me. Is this intended?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This URL will exist once it's merged. Otherwise, currently it would be this:

https://raw.githubusercontent.com/AI-Engineers-Foundation/agent-protocol/9c63b4ce65793459b7ce9b0c1a08df14b7a64cca/testing_suite/agent_protocol_v1.json

Which is way too long lol

Copy link
Collaborator Author

@jzanecook jzanecook Sep 19, 2023

Choose a reason for hiding this comment

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

Although it may be helpful for future versions to make it belong to a specific commit rather than the main branch at whatever state it's in currently.

Only issue is you'd have to know the commit where it worked first before you changed it to that so it's a double commit/merge combo. Maybe it could be automated in a workflow.

Copy link
Contributor

Choose a reason for hiding this comment

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

Good point. Okay sounds good.

@jzanecook jzanecook merged commit b19650e into Div99:main Sep 20, 2023
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