MCPcopy Index your code
hub / github.com/AgentOps-AI/agentops / async_test

Function async_test

tests/integration/test_llm_providers.py:208–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

206
207 # Async completion
208 async def async_test():
209 response = await ai21_async_client.chat.completions.create(
210 model="jamba-1.5-mini",
211 messages=ai21_test_messages,
212 )
213 return response
214
215 async_response = asyncio.run(async_test())
216 assert async_response.choices[0].message.content

Callers 4

test_ai21_providerFunction · 0.70
test_mistral_providerFunction · 0.70
test_litellm_providerFunction · 0.70
test_ollama_providerFunction · 0.70

Calls 1

createMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…