Initial commit: OpenCode vLLM autostart plugin and launchers
- Desktop plugin: on-demand vLLM model start, eject, media budgets - WSL-native twin plugin for WSL project sessions - Launchers for Qwen3.6 35B-A3B, Qwen3.8 27B (uncensored/fast), Agents-A1 - Config templates, diagnostics, video-processor workaround
This commit is contained in:
commit
40656fd046
27 files changed
+6710
No files matched your search
@@ -0,0 +1,13 @@
|
||||
import socket, urllib.request, json
|
||||
s = socket.socket(); s.settimeout(3)
|
||||
try:
|
||||
s.connect(("127.0.0.1", 8000)); print("PORT_OPEN")
|
||||
except Exception as e:
|
||||
print("PORT_CLOSED", repr(e))
|
||||
finally:
|
||||
s.close()
|
||||
try:
|
||||
r = urllib.request.urlopen("http://127.0.0.1:8000/v1/models", timeout=5)
|
||||
print("MODELS", json.loads(r.read())["data"][0]["id"])
|
||||
except Exception as e:
|
||||
print("NO_API", repr(e))
|
||||
Reference in new issue
Block a user