MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / get_code_assist_endpoint

Function get_code_assist_endpoint

config.py:289–301  ·  view source on GitHub ↗

Get Code Assist endpoint setting. Environment variable: CODE_ASSIST_ENDPOINT Database config key: code_assist_endpoint Default: https://cloudcode-pa.googleapis.com

()

Source from the content-addressed store, hash-verified

287
288
289async def get_code_assist_endpoint() -> str:
290 """
291 Get Code Assist endpoint setting.
292
293 Environment variable: CODE_ASSIST_ENDPOINT
294 Database config key: code_assist_endpoint
295 Default: https://cloudcode-pa.googleapis.com
296 """
297 return str(
298 await get_config_value(
299 "code_assist_endpoint", "https://cloudcode-pa.googleapis.com", "CODE_ASSIST_ENDPOINT"
300 )
301 )
302
303
304async def get_compatibility_mode_enabled() -> bool:

Callers 3

test_credentialFunction · 0.90
stream_requestFunction · 0.90
non_stream_requestFunction · 0.90

Calls 1

get_config_valueFunction · 0.85

Tested by 1

test_credentialFunction · 0.72