- Change file mode from 644 to 755 for all project files - Add chain_id parameter to get_balance RPC endpoint with default "ait-devnet" - Rename Miner.extra_meta_data to extra_metadata for consistency
8 lines
268 B
Python
Executable File
8 lines
268 B
Python
Executable File
import requests
|
|
|
|
resp = requests.post("http://127.0.0.1:8000/v1/jobs", json={
|
|
"payload": {"type": "inference", "model": "test-model", "prompt": "test prompt"},
|
|
"ttl_seconds": 900
|
|
}, headers={"X-Api-Key": "client_dev_key_1"})
|
|
print(resp.status_code, resp.text)
|