Files
herolib/lib/clients/vastai/readme.md
mariobassem 34b1aad175 feat: Add VastAI client
- Add a new VastAI client to the project.
- This client allows users to search for and create GPU instances on VastAI.
- It uses the VastAI API to interact with the platform.
- Includes functionality for searching offers, getting top offers, and creating instances.

Co-authored-by: mahmmoud.hassanein <mahmmoud.hassanein@gmail.com>
2025-01-23 19:22:39 +02:00

31 lines
246 B
Markdown

# vastai
To get started
```vlang
import freeflowuniverse.herolib.clients. vastai
mut client:= vastai.get()!
client...
```
## example heroscript
```hero
!!vastai.configure
secret: '...'
host: 'localhost'
port: 8888
```