Commit a0450a0
committed
bug #560 [Agent]Brave] Fix validation attribute for string parameter in tool (OskarStark)
This PR was merged into the main branch.
Discussion
----------
[Agent]Brave] Fix validation attribute for string parameter in tool
| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| Docs? | no
| Issues | --
| License | MIT
Changed #[With(maximum: 500)] to #[With(maxLength: 500)] for the $query parameter since maximum is for numeric values while maxLength is for string length validation.
Commits
-------
72562c1 Fix validation attribute for string parameter in Brave tool1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments