Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/volcengine/OpenViking
/ str
Function
str
examples/codex-memory-plugin/scripts/config.mjs:53–56 ·
view source on GitHub ↗
(val, fallback)
Source
from the content-addressed store, hash-verified
51
}
52
53
function
str(val, fallback) {
54
if
(typeof val ===
"string"
&& val.trim())
return
val.trim();
55
return
fallback;
56
}
57
58
function
envBool(name) {
59
const
v = process.env[name];
Callers
15
normalizeAuthMode
Function · 0.70
loadConfig
Function · 0.70
setup.py
File · 0.50
_get_windows_python_sabi_library
Function · 0.50
_copy_artifact
Method · 0.50
_resolve_cargo_target_dir
Method · 0.50
_build_ov_cli_artifact_impl
Method · 0.50
build_ragfs_python_artifact
Method · 0.50
_build_extension_impl
Method · 0.50
_build_web_studio
Function · 0.50
main
Function · 0.50
check_config
Function · 0.50
Calls
no outgoing calls
Tested by
15
test_load_server_config_rejects_unknown_field
Function · 0.40
test_load_server_config_rejects_unknown_nested_field
Function · 0.40
test_load_server_config_reports_invalid_value_path
Function · 0.40
test_load_server_config_preserves_supported_fields
Function · 0.40
test_load_server_config_rejects_legacy_queuefs_scope
Function · 0.40
test_load_bot_gateway_token_reads_token_from_bot_gateway_section
Function · 0.40
test_load_server_config_preserves_metrics_account_dimension_fields
Function · 0.40
test_load_server_config_preserves_otlp_headers_fields
Function · 0.40
_write_config
Function · 0.40
test_prompt_manager_prefers_env_templates_dir_over_config
Function · 0.40
test_prompt_manager_uses_ov_conf_templates_dir_when_env_is_unset
Function · 0.40
test_prompt_manager_falls_back_to_bundled_template_when_custom_dir_is_partial
Function · 0.40