-
Notifications
You must be signed in to change notification settings - Fork 4
Updated make-agent validation, migrate validation & tests to bitte-ai-spec package #94
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
Conversation
1a696eb to
b24e551
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Are we creating a monorepo for all these scattered little packages, or just a bunch of scattered repos? I created the agent-sdk in bitteprotocol/core which is all setup for this. Its just waiting for a buddy to join.
| "@apidevtools/swagger-parser": "^10.1.0", | ||
| "ajv": "^8.17.1", | ||
| "ajv-draft-04": "^1.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hooray 🎉
| `Attempt ${attempt}/${maxAttempts}: Error detecting port:`, | ||
| winError, | ||
| `Attempt ${attempt}/${maxAttempts}: Error detecting port.`, | ||
| // winError, mute winError to prevent large, unneccesary console output |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would just delete this and put the comment in a comment here.
| // winError, mute winError to prevent large, unneccesary console output |
Updated
make-agentvalidationOpenAPI spec + Zod schema validation using new package
bitte-ai-spec(temporary but live on NPM).Export new
BitteOpenAPISpectype from make-agentNew command
make-agent validate [source](can pass a path to json file or remote url to test spec validation)Can test here on agent template branch:

BitteProtocol/agent-next-boilerplate#18