Commit e47b894
authored
fix-a-lot (#830)
Fixes #827
Fixes #787
Fixes #783
---
Restores `start_session` from legacy SDK
```
import openai
import agentops
agentops.start_session()
response = openai.chat.completions.create(
model="gpt-3.5-turbo", messages=[{"role": "user", "content": "Write a one-line joke"}]
)
```
<img width="279" alt="image" src="https://github.com/user-attachments/assets/5b339e41-19bd-4a84-b981-25f971f5b329" />
---
Implements correct decorator nesting and traces context.
```
uv run examples/sdk/basic.py
```
<img width="347" alt="image" src="https://github.com/user-attachments/assets/1408689b-4bb0-43aa-abdf-25dd2d03f5e9" />
Signed-off-by: Teo <[email protected]>1 parent d0b8f8a commit e47b894
File tree
71 files changed
+1680
-9844
lines changed- agentops
- helpers
- legacy
- llms
- providers
- partners
- sdk
- decorators
- semconv
- examples
- opentelemetry
- sdk
- tests
- core_manual_tests
- integration
- langchain_handlers
- unit
- sdk
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
71 files changed
+1680
-9844
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
2 | 4 | | |
3 | 5 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | 6 | | |
9 | 7 | | |
10 | 8 | | |
| |||
126 | 124 | | |
127 | 125 | | |
128 | 126 | | |
| 127 | + | |
129 | 128 | | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | | - | |
210 | | - | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | | - | |
216 | | - | |
217 | | - | |
218 | | - | |
219 | | - | |
220 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
221 | 133 | | |
222 | | - | |
223 | | - | |
224 | | - | |
225 | 134 | | |
226 | | - | |
227 | | - | |
228 | | - | |
229 | | - | |
230 | 135 | | |
| 136 | + | |
231 | 137 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
This file was deleted.
0 commit comments