-
Notifications
You must be signed in to change notification settings - Fork 15
feat: add type validation to params when tool is invoked #129
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
Changes from 81 commits
Commits
Show all changes
88 commits
Select commit
Hold shift + click to select a range
5f1b2b0
feat: add authenticated parameters support
kurtisvg 34bec37
chore: add asyncio dep
kurtisvg f0024bf
chore: run itest
kurtisvg a646285
chore: add type hint
kurtisvg 0dc7034
fix: call tool instead of client
kurtisvg 61d32aa
chore: correct arg name
kurtisvg 744ade9
feat: add support for bound parameters
kurtisvg b875771
chore: add tests for bound parameters
kurtisvg 138d8d9
docs: update syntax error on readme (#121)
Yuan325 e2f5b4d
ci: added release please config (#112)
twishabansal 280a79f
added basic e2e tests
twishabansal 63808ce
change license year
twishabansal 55f5ca0
add test deps
twishabansal ed16488
fix tests
twishabansal f0991ab
fix tests
twishabansal cc6d568
fix tests
twishabansal 1f63b0d
add new test case
twishabansal 66e88ab
fix docstring
twishabansal 1fa1b7a
added todo
twishabansal 12af5fa
cleanup
twishabansal 9c3ba38
add bind param test case
twishabansal d75828e
make bind params dynamic
twishabansal fef1f7f
try fix test errors
twishabansal cd701b7
lint
twishabansal 7a5a1bd
remove redundant test
twishabansal e343e78
test fix
twishabansal 11d62b4
fix docstring
twishabansal 87e00cc
feat: add authenticated parameters support
kurtisvg 6b263ad
chore: add asyncio dep
kurtisvg 5fe541f
chore: run itest
kurtisvg e9d7a31
chore: add type hint
kurtisvg 58c55cf
fix: call tool instead of client
kurtisvg c1a482a
chore: correct arg name
kurtisvg c1ac2cd
chore: address feedback
kurtisvg bcba462
chore: address more feedback
kurtisvg c8491a9
feat: add support for bound parameters
kurtisvg c26c453
chore: add tests for bound parameters
kurtisvg 3abe9e4
chore: address feedback
kurtisvg 3200f00
Merge branch 'kvg-bound-params' into twisha-core-e2e
twishabansal 9482f37
revert package file changes
twishabansal 6dca7f9
fix error message
twishabansal 4d562bd
revert package files
twishabansal cc7ccad
lint
twishabansal 84e66a6
fix error message
twishabansal fe2a332
Update packages/toolbox-core/tests/test_e2e.py
twishabansal 3c67596
try changing docstring to include args and their descriptions
twishabansal 183ea48
fix docstring
twishabansal df96f53
lint
twishabansal 8023460
fix test
twishabansal 3520277
lint
twishabansal beab901
added return type annotation
twishabansal 10601aa
Add docstrings
twishabansal 65b729d
use and update schema
twishabansal c613ae8
lint
twishabansal 9e63c37
lint
twishabansal f242722
try out pydantic validation
twishabansal e60ab95
revert changes to e2e test file
twishabansal c7b76da
add basic pydantic type checking
twishabansal 9e01213
lint
twishabansal 5ac71e2
fix pydantic validation error
twishabansal 484d347
fix error string
twishabansal a3ecb49
fix error string
twishabansal 8796452
lint
twishabansal f4a9c7d
added to_pydantic_model as a method under the toolschema class
twishabansal 8793fa7
lint
twishabansal ce72925
Merge branch 'main' into twisha-core-docstring
twishabansal 53655ea
revert changes to e2e test file
twishabansal d6c0b34
change string to str and in arg type
twishabansal 1260987
small change
twishabansal 57843e9
fix imports
twishabansal 4adda1b
remove toolschema usage
twishabansal 5cc8978
lint
twishabansal 018cd88
Merge branch 'twisha-core-docstring' into twisha-core-pydantic
twishabansal 2085aef
create pydantic model at init
twishabansal 889401c
lint
twishabansal 1dffce2
move create_docstring method outside the class.
twishabansal 2187cea
lint
twishabansal 7c6ec53
Merge branch 'twisha-core-docstring' into twisha-core-pydantic
twishabansal 728c172
Merge branch 'main' into twisha-core-pydantic
twishabansal 8ae4782
lint
twishabansal da2b838
Merge branch 'main' into twisha-core-pydantic
twishabansal 98169e6
Update packages/toolbox-core/src/toolbox_core/tool.py
twishabansal 45bcdca
move to_pydantic_model outside the class
twishabansal 5d97a2c
lint
twishabansal 0ca6adb
rename function
twishabansal e91da98
Merge branch 'main' into twisha-core-pydantic
twishabansal 515bdc5
added name to pydantic model
twishabansal 5cee81d
lint
twishabansal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.