Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/ToolBench
/ toolbench_server.py
File
toolbench_server.py
toolbench/inference/toolbench_server.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
from
flask
import
Flask, Response, stream_with_context, request
2
from
flask_cors
import
CORS, cross_origin
3
from
callbacks.ServerEventCallback
import
ServerEventCallback
4
import
argparse
Callers
nothing calls this directly
Calls
2
Model
Class · 0.85
run
Method · 0.45
Tested by
no test coverage detected