Share via


user_agent Module

Functions

prepend_semantic_kernel_to_user_agent

Prepend "semantic-kernel" to the User-Agent in the headers.

prepend_semantic_kernel_to_user_agent(headers: dict[str, Any])

Parameters

Name Description
headers
Required

The existing headers dictionary.

Returns

Type Description

The modified headers dictionary with "semantic-kernel-python/{version}" prepended to the User-Agent.