MCPcopy Create free account
hub / github.com/CJackHwang/AIstudioProxyAPI / _copy_api_url

Method _copy_api_url

gui/app.py:1304–1308  ·  view source on GitHub ↗

Copy API URL to clipboard.

(self)

Source from the content-addressed store, hash-verified

1302 # API & Browser
1303 # =========================================================================
1304 def _copy_api_url(self):
1305 """Copy API URL to clipboard."""
1306 url = f"http://127.0.0.1:{self.fastapi_port.get()}"
1307 copy_to_clipboard(self.root, url)
1308 self._log(get_text("copied_to_clipboard"))
1309
1310 def _api_test(self):
1311 """Test the API endpoint."""

Callers

nothing calls this directly

Calls 4

_logMethod · 0.95
copy_to_clipboardFunction · 0.85
get_textFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected