Basic chat completion with Dedalus
import asyncio from dedalus_labs import AsyncDedalus, DedalusRunner from dotenv import load_dotenv from dedalus_labs.utils.streaming import stream_async load_dotenv() async def main(): client = AsyncDedalus() runner = DedalusRunner(client) response = await runner.run( input="What was the score of the 2025 Wimbledon final?", model="openai/gpt-5-mini" ) print(response.final_output) if __name__ == "__main__": asyncio.run(main())