Skip to content

Fix throwing out of catch #252126

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 23, 2025
Merged

Fix throwing out of catch #252126

merged 1 commit into from
Jun 23, 2025

Conversation

roblourens
Copy link
Member

@roblourens roblourens self-assigned this Jun 23, 2025
@roblourens roblourens enabled auto-merge (squash) June 23, 2025 05:20
@vs-code-engineering vs-code-engineering bot added this to the June 2025 milestone Jun 23, 2025
@@ -899,10 +900,9 @@ export class ChatService extends Disposable implements IChatService {
numCodeBlocks: 0,
enableCommandDetection,
isParticipantDetected: !!detectedAgent,
attachmentKinds: this.attachmentKindsForTelemetry(request.variableData),
attachmentKinds: request ? this.attachmentKindsForTelemetry(request.variableData) : [],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn’t we fix the type so we don’t run into this again
Types indicate it’s not billable

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approving as it’s not a blocker, but feel it should be fixed, as someone else could run into this again

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, this code is a bit all over the place

@roblourens roblourens merged commit d6d5034 into main Jun 23, 2025
8 checks passed
@roblourens roblourens deleted the roblou/agreeable-boa branch June 23, 2025 05:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants