diff options
| author | Preston Holmes <[email protected]> | 2025-06-27 08:46:27 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-27 15:46:27 +0000 |
| commit | 3aabb940f5b66aaed340d20bf4decfa6c40330cc (patch) | |
| tree | 10e4953a5f2290a43adb14314fe2e95c738cdd1f /packages/cli/src/ui/hooks/slashCommandProcessor.ts | |
| parent | 3ebf54f367bb9bf737dc78702186d42501cbc0a6 (diff) | |
Add the current auth method and GCP Project config to the about message (#2112)
Diffstat (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/slashCommandProcessor.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index 52e8effc..bd0e38b8 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -103,6 +103,8 @@ export const useSlashCommandProcessor = ( osVersion: message.osVersion, sandboxEnv: message.sandboxEnv, modelVersion: message.modelVersion, + selectedAuthType: message.selectedAuthType, + gcpProject: message.gcpProject, }; } else if (message.type === MessageType.STATS) { historyItemContent = { @@ -596,6 +598,8 @@ export const useSlashCommandProcessor = ( } const modelVersion = config?.getModel() || 'Unknown'; const cliVersion = await getCliVersion(); + const selectedAuthType = settings.merged.selectedAuthType || ''; + const gcpProject = process.env.GOOGLE_CLOUD_PROJECT || ''; addMessage({ type: MessageType.ABOUT, timestamp: new Date(), @@ -603,6 +607,8 @@ export const useSlashCommandProcessor = ( osVersion, sandboxEnv, modelVersion, + selectedAuthType, + gcpProject, }); }, }, @@ -1007,6 +1013,7 @@ export const useSlashCommandProcessor = ( toggleCorgiMode, savedChatTags, config, + settings, showToolDescriptions, session, gitService, |
