Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /agno-agi_agno /cookbook /90_models /moonshot /basic.py
| """ | |
| Moonshot Basic | |
| ============== | |
| Cookbook example for `moonshot/basic.py`. | |
| """ | |
| from agno.agent import Agent | |
| from agno.models.moonshot import MoonShot | |
| # --------------------------------------------------------------------------- | |
| # Create Agent | |
| # --------------------------------------------------------------------------- | |
| agent = Agent(model=MoonShot(id="kimi-k3", reasoning_effort="low"), markdown=True) | |
| # --------------------------------------------------------------------------- | |
| # Run Agent | |
| # --------------------------------------------------------------------------- | |
| if __name__ == "__main__": | |
| # --- Sync --- | |
| agent.print_response("Share a 2 sentence horror story.") | |
| # --- Sync + Streaming --- | |
| agent.print_response("Share a 2 sentence horror story.", stream=True) | |
Xet Storage Details
- Size:
- 791 Bytes
- Xet hash:
- 4f76c742dd441fc67ec6bf77c12936a273bbe9a3929b498e752ced3b037cfbf5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.