Commit af6c61b
fix: Resolve type checking errors in prompt caching implementation
- Add type ignore comment for intentional content field transformation
- Convert ChatCompletionDeltaToolCall to ToolCall format for event emission
- Fixes mypy errors on lines 416 and 789
Co-Authored-By: João <[email protected]>1 parent a395a5c commit af6c61b
1 file changed
+13
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
413 | 413 | | |
414 | 414 | | |
415 | 415 | | |
416 | | - | |
| 416 | + | |
417 | 417 | | |
418 | 418 | | |
419 | 419 | | |
| |||
783 | 783 | | |
784 | 784 | | |
785 | 785 | | |
| 786 | + | |
| 787 | + | |
| 788 | + | |
| 789 | + | |
| 790 | + | |
| 791 | + | |
| 792 | + | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
786 | 797 | | |
787 | 798 | | |
788 | 799 | | |
789 | | - | |
| 800 | + | |
790 | 801 | | |
791 | 802 | | |
792 | 803 | | |
| |||
0 commit comments