julep
julep copied to clipboard
Update CLI tool request typing
trafficstars
User description
Summary
- use specific Tool definitions from agents-api autogen models for CLI
Testing
pyright cli/src/julep_cli/models.py(fails: No overloads for__init__match the provided arguments)
PR Type
Enhancement
Description
-
Replace generic
Anytypes with specific tool definitions inCreateToolRequest -
Import and use precise models from
agents_api.autogen -
Improve type safety and code clarity for tool-related fields
Changes walkthrough 📝
| Relevant files | |||
|---|---|---|---|
| Enhancement |
|
Need help?
Type /help how to ...in the comments thread for any questions about Qodo Merge usage.Check out the documentation for more information.
[!IMPORTANT] Update
CreateToolRequestinmodels.pyto use specific types fromagents_api.autogenfor improved type safety.
- Typing Updates:
- Update
CreateToolRequestinmodels.pyto use specific types fromagents_api.autogen.- Replace
AnywithFunctionDef,IntegrationDef,SystemDef,ApiCallDef,Computer20241022Def,TextEditor20241022Def, andBash20241022Def.- Testing:
pyrighttype checking fails due to mismatched__init__arguments inmodels.py.This description was created by
for 4124f881a63f946564312628c1a088d63e7a5050. You can customize this summary. It will automatically update as commits are pushed.