mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-03-14 16:10:59 -07:00
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Jerop Kipruto <jerop@google.com> Co-authored-by: MD. MOHIBUR RAHMAN <35300157+mrpmohiburrahman@users.noreply.github.com> Co-authored-by: Jeffrey Ying <jeffrey.ying86@live.com> Co-authored-by: Bryan Morgan <bryanmorgan@google.com> Co-authored-by: joshualitt <joshualitt@google.com> Co-authored-by: Dev Randalpura <devrandalpura@google.com> Co-authored-by: Google Admin <github-admin@google.com> Co-authored-by: Ben Knutson <benknutson@google.com>
39 lines
1.7 KiB
TypeScript
39 lines
1.7 KiB
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025 Google LLC
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
export const SERVICE_NAME = 'gemini-cli';
|
|
export const SERVICE_DESCRIPTION =
|
|
'Gemini CLI is an open-source AI agent that brings the power of Gemini directly into your terminal. It is designed to be a terminal-first, extensible, and powerful tool for developers, engineers, SREs, and beyond.';
|
|
|
|
// Gemini CLI specific semantic conventions
|
|
// https://opentelemetry.io/docs/specs/semconv/registry/attributes/gen-ai/#genai-attributes
|
|
export const GEN_AI_OPERATION_NAME = 'gen_ai.operation.name';
|
|
export const GEN_AI_AGENT_NAME = 'gen_ai.agent.name';
|
|
export const GEN_AI_AGENT_DESCRIPTION = 'gen_ai.agent.description';
|
|
export const GEN_AI_INPUT_MESSAGES = 'gen_ai.input.messages';
|
|
export const GEN_AI_OUTPUT_MESSAGES = 'gen_ai.output.messages';
|
|
export const GEN_AI_REQUEST_MODEL = 'gen_ai.request.model';
|
|
export const GEN_AI_RESPONSE_MODEL = 'gen_ai.response.model';
|
|
export const GEN_AI_PROMPT_NAME = 'gen_ai.prompt.name';
|
|
export const GEN_AI_TOOL_NAME = 'gen_ai.tool.name';
|
|
export const GEN_AI_TOOL_CALL_ID = 'gen_ai.tool.call_id';
|
|
export const GEN_AI_TOOL_DESCRIPTION = 'gen_ai.tool.description';
|
|
export const GEN_AI_USAGE_INPUT_TOKENS = 'gen_ai.usage.input_tokens';
|
|
export const GEN_AI_USAGE_OUTPUT_TOKENS = 'gen_ai.usage.output_tokens';
|
|
export const GEN_AI_SYSTEM_INSTRUCTIONS = 'gen_ai.system_instructions';
|
|
export const GEN_AI_TOOL_DEFINITIONS = 'gen_ai.tool.definitions';
|
|
export const GEN_AI_CONVERSATION_ID = 'gen_ai.conversation.id';
|
|
|
|
// Gemini CLI specific operations
|
|
export enum GeminiCliOperation {
|
|
ToolCall = 'tool_call',
|
|
LLMCall = 'llm_call',
|
|
UserPrompt = 'user_prompt',
|
|
SystemPrompt = 'system_prompt',
|
|
AgentCall = 'agent_call',
|
|
ScheduleToolCalls = 'schedule_tool_calls',
|
|
}
|