MCPcopy Create free account
hub / github.com/algolia/algoliasearch-client-javascript / _ua

Function _ua

packages/recommend/src/recommendClient.ts:121–123  ·  view source on GitHub ↗

* Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.

()

Source from the content-addressed store, hash-verified

119 * Get the value of the `algoliaAgent`, used by our libraries internally and telemetry system.
120 */
121 get _ua(): string {
122 return transporter.algoliaAgent.value;
123 },
124
125 /**
126 * Adds a `segment` to the `x-algolia-agent` sent with every requests.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected