File tree
Expand file treeCollapse file tree
11 files changed
+178
-15
lines changedFilter options
- src/agents
- extensions/models
- models
- tests
- models
Expand file treeCollapse file tree
11 files changed
+178
-15
lines changedsrc/agents/extensions/models/litellm_model.py
Copy file name to clipboardExpand all lines: src/agents/extensions/models/litellm_model.py+11Lines changed: 11 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
| 9 | + |
9 | 10 |
|
10 | 11 |
|
11 | 12 |
|
| ||
107 | 108 |
|
108 | 109 |
|
109 | 110 |
|
| 111 | + |
| 112 | + |
| 113 | + |
| 114 | + |
| 115 | + |
| 116 | + |
| 117 | + |
| 118 | + |
| 119 | + |
| 120 | + |
110 | 121 |
|
111 | 122 |
|
112 | 123 |
|
|
src/agents/models/openai_chatcompletions.py
Copy file name to clipboardExpand all lines: src/agents/models/openai_chatcompletions.py+14-1Lines changed: 14 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
9 | 9 |
|
10 | 10 |
|
11 | 11 |
|
| 12 | + |
12 | 13 |
|
13 | 14 |
|
14 | 15 |
|
| ||
83 | 84 |
|
84 | 85 |
|
85 | 86 |
|
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
86 | 99 |
|
87 | 100 |
|
88 | 101 |
|
| ||
252 | 265 |
|
253 | 266 |
|
254 | 267 |
|
255 |
| - |
| 268 | + |
256 | 269 |
|
257 | 270 |
|
258 | 271 |
|
|
src/agents/models/openai_responses.py
Copy file name to clipboardExpand all lines: src/agents/models/openai_responses.py+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
98 | 98 |
|
99 | 99 |
|
100 | 100 |
|
| 101 | + |
| 102 | + |
101 | 103 |
|
102 | 104 |
|
103 | 105 |
|
|
+2Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
689 | 689 |
|
690 | 690 |
|
691 | 691 |
|
| 692 | + |
| 693 | + |
692 | 694 |
|
693 | 695 |
|
694 | 696 |
|
|
+21-1Lines changed: 21 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 |
| - |
| 1 | + |
| 2 | + |
| 3 | + |
2 | 4 |
|
3 | 5 |
|
4 | 6 |
|
| ||
9 | 11 |
|
10 | 12 |
|
11 | 13 |
|
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
12 | 18 |
|
13 | 19 |
|
14 | 20 |
|
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
15 | 26 |
|
16 | 27 |
|
17 | 28 |
|
| ||
20 | 31 |
|
21 | 32 |
|
22 | 33 |
|
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
tests/models/test_litellm_chatcompletions_stream.py
Copy file name to clipboardExpand all lines: tests/models/test_litellm_chatcompletions_stream.py+14-2Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
12 | 16 |
|
13 | 17 |
|
14 | 18 |
|
| ||
46 | 50 |
|
47 | 51 |
|
48 | 52 |
|
49 |
| - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
50 | 60 |
|
51 | 61 |
|
52 | 62 |
|
| ||
112 | 122 |
|
113 | 123 |
|
114 | 124 |
|
| 125 | + |
| 126 | + |
115 | 127 |
|
116 | 128 |
|
117 | 129 |
|
|
tests/test_extra_headers.py
Copy file name to clipboardExpand all lines: tests/test_extra_headers.py+14-6Lines changed: 14 additions & 6 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
1 | 1 |
|
2 | 2 |
|
3 | 3 |
|
| 4 | + |
4 | 5 |
|
5 | 6 |
|
6 | 7 |
|
| ||
17 | 18 |
|
18 | 19 |
|
19 | 20 |
|
| 21 | + |
20 | 22 |
|
21 | 23 |
|
22 | 24 |
|
23 | 25 |
|
24 |
| - |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
25 | 35 |
|
| 36 | + |
26 | 37 |
|
27 | 38 |
|
28 | 39 |
|
29 | 40 |
|
30 | 41 |
|
31 | 42 |
|
32 |
| - |
33 |
| - |
34 |
| - |
| 43 | + |
35 | 44 |
|
36 | 45 |
|
37 | 46 |
|
| ||
47 | 56 |
|
48 | 57 |
|
49 | 58 |
|
50 |
| - |
51 | 59 |
|
52 | 60 |
|
53 | 61 |
|
| ||
76 | 84 |
|
77 | 85 |
|
78 | 86 |
|
79 |
| - |
| 87 | + |
80 | 88 |
|
81 | 89 |
|
82 | 90 |
|
|
tests/test_openai_chatcompletions.py
Copy file name to clipboardExpand all lines: tests/test_openai_chatcompletions.py+15-2Lines changed: 15 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
13 | 13 |
|
14 | 14 |
|
15 | 15 |
|
16 |
| - |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
17 | 20 |
|
18 | 21 |
|
19 | 22 |
|
| ||
51 | 54 |
|
52 | 55 |
|
53 | 56 |
|
54 |
| - |
| 57 | + |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | + |
| 62 | + |
| 63 | + |
55 | 64 |
|
56 | 65 |
|
57 | 66 |
|
| ||
81 | 90 |
|
82 | 91 |
|
83 | 92 |
|
| 93 | + |
| 94 | + |
84 | 95 |
|
85 | 96 |
|
86 | 97 |
|
| ||
127 | 138 |
|
128 | 139 |
|
129 | 140 |
|
| 141 | + |
| 142 | + |
130 | 143 |
|
131 | 144 |
|
132 | 145 |
|
|
tests/test_openai_chatcompletions_stream.py
Copy file name to clipboardExpand all lines: tests/test_openai_chatcompletions_stream.py+14-2Lines changed: 14 additions & 2 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
8 | 8 |
|
9 | 9 |
|
10 | 10 |
|
11 |
| - |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
12 | 16 |
|
13 | 17 |
|
14 | 18 |
|
| ||
46 | 50 |
|
47 | 51 |
|
48 | 52 |
|
49 |
| - |
| 53 | + |
| 54 | + |
| 55 | + |
| 56 | + |
| 57 | + |
| 58 | + |
| 59 | + |
50 | 60 |
|
51 | 61 |
|
52 | 62 |
|
| ||
112 | 122 |
|
113 | 123 |
|
114 | 124 |
|
| 125 | + |
| 126 | + |
115 | 127 |
|
116 | 128 |
|
117 | 129 |
|
|
tests/test_responses_tracing.py
Copy file name to clipboardExpand all lines: tests/test_responses_tracing.py+19-1Lines changed: 19 additions & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
1 | 3 |
|
2 | 4 |
|
3 | 5 |
|
4 | 6 |
|
| 7 | + |
5 | 8 |
|
6 | 9 |
|
7 | 10 |
|
| ||
16 | 19 |
|
17 | 20 |
|
18 | 21 |
|
19 |
| - |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
20 | 30 |
|
21 | 31 |
|
22 | 32 |
|
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
23 | 41 |
|
24 | 42 |
|
25 | 43 |
|
|
tests/test_usage.py
Copy file name to clipboard+52Lines changed: 52 additions & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
| ||
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
| 21 | + |
| 22 | + |
| 23 | + |
| 24 | + |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
| 51 | + |
| 52 | + |
0 commit comments