- 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
13 lines
403 B
Python
Executable File
13 lines
403 B
Python
Executable File
import subprocess
|
|
import sys
|
|
|
|
result = subprocess.run(
|
|
["/home/oib/windsurf/aitbc/cli/venv/bin/aitbc", "--url", "http://10.1.223.93:8000/v1", "--api-key", "client_dev_key_1", "--debug", "client", "submit", "--type", "inference", "--model", "test-model", "--prompt", "test prompt"],
|
|
capture_output=True,
|
|
text=True
|
|
)
|
|
print("STDOUT:")
|
|
print(result.stdout)
|
|
print("STDERR:")
|
|
print(result.stderr)
|