mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-07 07:42:13 +03:00
12 lines
336 B
TypeScript
12 lines
336 B
TypeScript
export const DEFAULT_CODEX_CLIENT_VERSION = "0.146.0";
|
|
export const CODEX_CLI_RS_ORIGINATOR = "codex_cli_rs";
|
|
|
|
export function getCodexCliRsHeaders(
|
|
version = DEFAULT_CODEX_CLIENT_VERSION
|
|
): Record<string, string> {
|
|
return {
|
|
"User-Agent": `${CODEX_CLI_RS_ORIGINATOR}/${version}`,
|
|
originator: CODEX_CLI_RS_ORIGINATOR,
|
|
};
|
|
}
|