> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Function set_latency_sensitivity

> Sets latency sensitivity on the current (top) scope using max-merge semantics.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Sets latency sensitivity on the current (top) scope using max-merge semantics.

If the current scope already has a latency\_sensitivity value, the new value is only applied if it is greater than the existing one.

## Parameters

* `value`: New non-negative latency sensitivity hint (`>= 0`) for the current top scope.

## Returns

`Ok(())` when the current scope metadata has been updated or left unchanged.

## Errors

Returns an error string when the scope stack lock is poisoned.

## Notes

Existing non-negative latency sensitivity values are updated using max-merge semantics.