()
| 175 | await asyncio.sleep(0.1) |
| 176 | |
| 177 | async def foo3(): |
| 178 | # `dspy.context` is allowed in different async tasks from the initial one. |
| 179 | with dspy.context(lm=dspy.LM("openai/gpt-4o")): |
| 180 | await asyncio.sleep(0.1) |
| 181 | |
| 182 | async def foo4(): |
| 183 | # foo4 is directly invoked by the entry task, so it has the same async task as the entry task. |
no test coverage detected
searching dependent graphs…