INNER CODE UNIT · Python

run

pollinations/pollinations · apps/floret/src/floret/main.py:10

async def run(
    text: str, *, history: list[dict[str, Any]] | None = None
) -> dict[str, Any]:
    """Run the agent on a single user turn (optionally with prior history)."""
    messages = list(history or [])
    messages.append({"role": "user", "content": text})
    return await run_agent(messages)

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…