MCPcopy Create free account

hub / github.com/Osmantic/ODS / functions

Functions5,548 in github.com/Osmantic/ODS

↓ 7 callersFunctionget_agent_setting
Get a setting for a specific agent, falling back to global default.
ods/extensions/services/token-spy/main.py:225
↓ 7 callersFunctionget_gpu_info
Get GPU metrics. Tries the configured backend first, then auto-detects.
ods/extensions/services/dashboard-api/gpu.py:458
↓ 7 callersFunctionget_gpu_info_windows_host
Read aggregate Windows AMD counters through the host agent.
ods/extensions/services/dashboard-api/gpu.py:387
↓ 7 callersFunctioninstall_upstream
Swap in a MockTransport upstream and spy on http_client.stream so we can prove the proxy used the streaming API (not buffered .post().content).
ods/extensions/services/privacy-shield/tests/test_streaming_proxy.py:72
↓ 7 callersFunctionload_module
()
ods/tests/test-dependency-pins.py:16
↓ 7 callersFunctionprepare_upstream_request
Validate and rewrite one OpenAI-compatible request for the provider.
ods/bin/remote_provider/egress.py:322
↓ 7 callersFunctionrank_pre_download_models
Rank catalog entries before any model is installed. The ranker uses only compatibility metadata from model-library.json and the detected hard
ods/extensions/services/dashboard-api/performance_oracle.py:1166
↓ 7 callersFunctionread
(path: str)
ods/tests/test-runtime-config-wiring.py:12
↓ 7 callersMethodreconcile
(self)
ods/extensions/services/remote-provider-ssh-tunnel/app/main.py:297
↓ 7 callersFunctionrun_command
Run a shell command and return (success, output).
ods/extensions/services/dashboard-api/gpu.py:18
↓ 7 callersFunctionvalidate_core_recreate_ids
Validate a requested set of core services for safe recreation.
ods/bin/ods-host-agent.py:3177
↓ 7 callersMethodwait
(self, timeout: float | None = None)
ods/tests/contracts/test-remote-provider-ssh-tunnel-service.py:76
↓ 6 callersMethod_body
(self, service_id: str)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:4265
↓ 6 callersFunction_capture_container_state
Capture optional-container existence/running state without ambiguity.
ods/bin/ods-host-agent.py:10346
↓ 6 callersFunction_effective_context_length
(model: dict[str, Any], runtime_profile: dict[str, Any] | None = None)
ods/extensions/services/dashboard-api/performance_oracle.py:708
↓ 6 callersFunction_find_hwmon_power
Read GPU power: power1_average → power1_input fallback (microwatts → watts).
ods/extensions/services/dashboard-api/gpu.py:709
↓ 6 callersFunction_get_httpx_client
Return (and lazily create) a module-level httpx async client.
ods/extensions/services/dashboard-api/helpers.py:113
↓ 6 callersFunction_lemonade_runtime_address
Return the Lemonade address reachable from this host-agent process.
ods/bin/ods-host-agent.py:8554
↓ 6 callersFunction_load_model_library_records
Load curated models plus the dashboard's integrity-pinned Hub imports.
ods/bin/ods-host-agent.py:797
↓ 6 callersFunction_local_model_name_from_gguf
(gguf_file: str)
ods/bin/ods-host-agent.py:3748
↓ 6 callersFunction_model_file_ready
Return True only for a final GGUF file that exists and is non-empty.
ods/bin/ods-host-agent.py:3740
↓ 6 callersMethod_optional_operation
( operation: str, callback: Callable[[dict[str, str]], None] | None, env: dict[str, st
ods/bin/model_switchboard/adapters.py:180
↓ 6 callersFunction_patch_hermes_model_config
Patch a host-writable Hermes config file.
ods/bin/ods-host-agent.py:10281
↓ 6 callersFunction_peer_model_json_request
( method: str, path: str, *, timeout: float = PEER_PROXY_TIMEOUT_SECONDS, )
ods/extensions/services/dashboard-api/routers/remote_provider_status.py:853
↓ 6 callersFunction_positive_int
(value: object)
ods/bin/ods-host-agent.py:8854
↓ 6 callersMethod_progress
(self, data_dir: Path, service_id: str)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:4259
↓ 6 callersFunction_remote_provider_route_state_path
()
ods/bin/ods-host-agent.py:2188
↓ 6 callersFunction_resolve_install_root
()
ods/extensions/services/dashboard-api/main.py:138
↓ 6 callersFunction_resp
(status, headers, chunks)
ods/extensions/services/privacy-shield/tests/test_streaming_proxy.py:67
↓ 6 callersFunction_safe_model_artifact_path
Resolve a catalog artifact while keeping it directly in models_dir.
ods/bin/ods-host-agent.py:1554
↓ 6 callersFunction_scan_service_disk
Scan /data/* directories and map to services.
ods/extensions/services/dashboard-api/routers/resources.py:50
↓ 6 callersMethod_ssh_configure_payload
(self)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:2028
↓ 6 callersMethod_write_manifest
(self, ext_dir: Path, with_hook: bool = True, service_lines: str = "")
ods/extensions/services/dashboard-api/tests/test_host_agent.py:4229
↓ 6 callersMethodaclose
(self)
ods/extensions/services/model-router/tests/test_router.py:141
↓ 6 callersFunctionall_assigned_uuids
(output)
ods/tests/test-assign-gpus.py:22
↓ 6 callersFunctionassert_raises_policy_error
(func, message: str)
ods/tests/contracts/test-remote-provider-egress-policy.py:73
↓ 6 callersFunctioncheck
(name, cond, detail)
ods/tests/test-brave-search-searxng-compat.mjs:27
↓ 6 callersFunctionestimated_param_billions
Best-effort model scale from explicit metadata, name, then file size.
ods/extensions/services/dashboard-api/model_memory.py:18
↓ 6 callersFunctionfetchJson
(url, options = {}, timeoutMs = REQUEST_TIMEOUT_MS)
ods/extensions/services/dashboard/src/pages/RemoteProvider.jsx:159
↓ 6 callersMethodformat
(self)
ods/scripts/validate-sim-summary.py:50
↓ 6 callersMethodrequire
(self, condition: bool, path: str, message: str)
ods/scripts/validate-golden-paths.py:25
↓ 6 callersMethodunpack
(self, fmt: str)
ods/extensions/services/dashboard-api/gguf_inspector.py:105
↓ 6 callersFunctionvalidate_direct_provider_resolution
Fail closed when a direct provider resolves to unsafe address space.
ods/bin/remote_provider/egress.py:270
↓ 5 callersFunction_activate_service
Core enable logic — NO lock acquisition. Called inside _extensions_lock. Checks both USER_EXTENSIONS_DIR (user-installed) and EXTENSIONS_DIR
ods/extensions/services/dashboard-api/routers/extensions.py:2124
↓ 5 callersFunction_begin_model_lifecycle
Claim the process-wide model lifecycle boundary without waiting.
ods/bin/ods-host-agent.py:395
↓ 5 callersMethod_body
(self)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:5294
↓ 5 callersFunction_build_readiness_payload
( *, service_statuses: list[ServiceStatus], loaded_model: Optional[str], context_size: Optiona
ods/extensions/services/dashboard-api/main.py:266
↓ 5 callersMethod_clear_resource_cache
Remove cached resource entries so each test gets fresh data.
ods/extensions/services/dashboard-api/tests/test_resources.py:122
↓ 5 callersMethod_configure_payload
(self)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:2017
↓ 5 callersFunction_device_name
The ODS_DEVICE_NAME segment, with a sane fallback. The mDNS announcer and the ods-proxy use the same name to build per-service hostnames (cha
ods/extensions/services/dashboard-api/routers/magic_link.py:403
↓ 5 callersFunction_effective_required_memory_gb
(model: dict[str, Any], runtime_profile: dict[str, Any] | None = None)
ods/extensions/services/dashboard-api/performance_oracle.py:714
↓ 5 callersFunction_event
(**overrides)
ods/extensions/services/token-spy/tests/test_routed_telemetry.py:25
↓ 5 callersFunction_get_aio_session
Return (and lazily create) a module-level aiohttp session.
ods/extensions/services/dashboard-api/helpers.py:87
↓ 5 callersFunction_get_lifetime_tokens
()
ods/extensions/services/dashboard-api/helpers.py:212
↓ 5 callersFunction_gpu
()
ods/extensions/services/dashboard-api/tests/test_models.py:1604
↓ 5 callersMethod_handle_model_delete
Delete a downloaded GGUF model file.
ods/bin/ods-host-agent.py:8412
↓ 5 callersFunction_health_from_plan
( plan: Mapping[str, Any], process: Mapping[str, Any] | None = None, )
ods/extensions/services/remote-provider-ssh-tunnel/app/main.py:226
↓ 5 callersFunction_hf_token
()
ods/extensions/services/dashboard-api/routers/models.py:588
↓ 5 callersMethod_hook_helper_source
(self)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:1807
↓ 5 callersFunction_import_module
Import the script as a module so we can unit-test its helpers.
ods/tests/test_setup_card.py:22
↓ 5 callersFunction_insert_row
(db, tenant_id, when, counter, row_id=None)
ods/extensions/services/token-spy/tests/test_recent_events_cursor_postgres.py:78
↓ 5 callersFunction_invalidate_extension_digest_cache
(*roots: Path)
ods/extensions/services/dashboard-api/routers/extensions.py:60
↓ 5 callersFunction_lemonade_completion_ready
Return True when Lemonade can complete against the requested GGUF.
ods/bin/ods-host-agent.py:9351
↓ 5 callersFunction_lifecycle_payload
()
ods/extensions/services/dashboard-api/tests/test_remote_provider_status.py:38
↓ 5 callersFunction_load
(path: Path, prefix: str)
ods/extensions/services/token-spy/tests/test_routed_telemetry.py:16
↓ 5 callersMethod_make_feature
(self, vram_gb=0, services=None, services_any=None, enabled_all=None, enabled_any=None)
ods/extensions/services/dashboard-api/tests/test_features.py:104
↓ 5 callersFunction_model_download_manifest
Build the complete integrity manifest for one catalog model.
ods/bin/ods-host-agent.py:758
↓ 5 callersMethod_next
(self, op: str, env: dict[str, str])
ods/bin/remote_provider/reconciler.py:101
↓ 5 callersFunction_node_cmd_or_skip
()
ods/tests/test-perplexica-entrypoint.py:38
↓ 5 callersFunction_normalize_record
Fill defaults for records created before owner onboarding existed.
ods/extensions/services/dashboard-api/routers/magic_link.py:268
↓ 5 callersMethod_patch_curl_download
(self, monkeypatch, payload: bytes)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:5300
↓ 5 callersMethod_point_at
(self, monkeypatch, tmp_path)
ods/extensions/services/dashboard-api/tests/test_model_state.py:266
↓ 5 callersFunction_process_status
( status: str, *, pid: int | None = None, exit_code: int | None = None, uptime_seconds: fl
ods/extensions/services/remote-provider-ssh-tunnel/app/main.py:202
↓ 5 callersFunction_read_json_file
(path: Path, default)
ods/extensions/services/dashboard-api/helpers.py:243
↓ 5 callersFunction_read_sysfs
Read a sysfs file, returning None on failure.
ods/extensions/services/dashboard-api/gpu.py:29
↓ 5 callersFunction_readiness_proof
(identity="M.gguf", context_length=65536)
ods/extensions/services/dashboard-api/tests/test_switchboard_reconciler.py:36
↓ 5 callersFunction_render_env_from_values
(values: dict[str, str])
ods/extensions/services/dashboard-api/main.py:799
↓ 5 callersFunction_require_hermes_talk_compatible
()
ods/extensions/services/dashboard-api/routers/talk.py:121
↓ 5 callersFunction_require_key
(v: Validator, obj: Mapping[str, Any], path: str, key: str)
ods/scripts/validate-sim-summary.py:90
↓ 5 callersMethod_scan
(self, tmp_path, compose_text)
ods/extensions/services/dashboard-api/tests/test_extensions.py:2174
↓ 5 callersFunction_send_lemonade_warmup
Send a warm-up chat completion to trigger Lemonade on-demand model load. Lemonade discovers models from its configured extra_models_dir but only
ods/bin/ods-host-agent.py:9323
↓ 5 callersFunction_set_key
(lines: list[str], block: tuple[int, int], key: str, value: str, indent: int)
ods/scripts/patch-hermes-config.py:49
↓ 5 callersFunction_snapshot_text_file
Capture bytes/mode/existence for exact transactional restoration.
ods/bin/ods-host-agent.py:2124
↓ 5 callersFunction_string
(value: object)
ods/bin/remote_provider/lifecycle.py:54
↓ 5 callersFunction_top_level_block
(lines: list[str], name: str)
ods/scripts/patch-hermes-config.py:17
↓ 5 callersFunction_usable_model_memory_gb
(gpu_info: Optional[GPUInfo])
ods/extensions/services/dashboard-api/performance_oracle.py:799
↓ 5 callersFunction_wait_for_model_readiness
Prove exact runtime identity and one matching meaningful completion. Legacy callers receive a boolean. Identity callers receive the concrete
ods/bin/ods-host-agent.py:9366
↓ 5 callersMethod_write_progress_file
(self, data_dir: Path, service_id: str, status: str)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:4251
↓ 5 callersMethodcommunicate
(self, timeout=None)
ods/extensions/services/dashboard-api/tests/test_host_agent.py:5723
↓ 5 callersFunctionfetchPayload
(url, ms = 8000, options = {})
ods/extensions/services/dashboard/src/pages/Settings.jsx:56
↓ 5 callersFunctionformatContext
(contextLength)
ods/extensions/services/dashboard/src/pages/Models.jsx:1900
↓ 5 callersFunctionformatCurrency
(value)
ods/extensions/services/dashboard/src/pages/Usage.jsx:143
↓ 5 callersFunctionget_allowed_origins
()
ods/extensions/services/dashboard-api/main.py:1064
↓ 5 callersMethodget_stats
Get throughput statistics
ods/extensions/services/dashboard-api/agent_monitor.py:110
↓ 5 callersMethodget_stats
Return statistics about detected PII.
ods/extensions/services/privacy-shield/pii_scrubber.py:128
↓ 5 callersFunctionhost_agent_wire_client
Point the shared sync transport at a test server with isolated state.
ods/extensions/services/dashboard-api/tests/test_host_agent.py:115
↓ 5 callersFunctioninit_db
Initialize database (ensure tenant exists for single-tenant mode).
ods/extensions/services/token-spy/db_postgres.py:67
↓ 5 callersFunctioninsert_usage
(db, timestamp, **overrides)
ods/extensions/services/token-spy/tests/test_usage_report.py:34
↓ 5 callersMethodinvalidate
Remove a single cache entry.
ods/extensions/services/dashboard-api/main.py:111
↓ 5 callersFunctionis_plausible_single_request_tps
Validate interactive single-request decode throughput, not batched capacity.
ods/extensions/services/dashboard-api/helpers.py:234
← previousnext →201–300 of 5,548, ranked by callers