Commit 0b2b95a
committed
Add usage validation to model information test
- Check for promptTokens and totalTokens in usage object
- Verify token counts are numbers and greater than zero
- Ensures comprehensive validation of API response1 parent cf4875e commit 0b2b95a
1 file changed
+8
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
147 | 155 | | |
148 | 156 | | |
149 | 157 | | |
| |||
0 commit comments