MCPcopy Create free account
hub / github.com/astercloud/aster / SetPythonBridgeURL

Method SetPythonBridgeURL

pkg/tools/bridge/runtime.go:645–649  ·  view source on GitHub ↗

SetPythonBridgeURL 设置 Python 运行时的 HTTP 桥接服务器地址 (PTC 支持)

(url string)

Source from the content-addressed store, hash-verified

643
644// SetPythonBridgeURL 设置 Python 运行时的 HTTP 桥接服务器地址 (PTC 支持)
645func (m *RuntimeManager) SetPythonBridgeURL(url string) {
646 if runtime, ok := m.runtimes[LangPython].(*PythonRuntime); ok {
647 runtime.SetBridgeURL(url)
648 }
649}
650
651// DetectLanguage 根据文件扩展名检测语言
652func DetectLanguage(filename string) Language {

Callers 1

ensureBridgeServerMethod · 0.80

Calls 1

SetBridgeURLMethod · 0.45

Tested by

no test coverage detected