Skip to content
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

Amazon Q is randomly stopping with reading gists from github #6360

Open
svdleer opened this issue Jan 14, 2025 · 4 comments
Open

Amazon Q is randomly stopping with reading gists from github #6360

svdleer opened this issue Jan 14, 2025 · 4 comments
Labels
amazon-q codewhisperer feature-request New feature or enhancement. May require GitHub community feedback.

Comments

@svdleer
Copy link

svdleer commented Jan 14, 2025

Problem

Amazon Q in visual studio is randomly stopping with reading gists from github as source, hiding behind Amazon Q is not doing that as feature.
Amazon Q is also doing that when Amazon Q read from github one reply earlier.

Expected behavior

Amazon Q should not complain about reading from gist on github, since there is not really a good reliable way to share code to Amazon Q other then copy pasing with a length limit.

@svdleer svdleer added the feature-request New feature or enhancement. May require GitHub community feedback. label Jan 14, 2025
@justinmk3
Copy link
Contributor

Are you using VS Code (Visual Studio "Code") or Visual Studio?

@justinmk3
Copy link
Contributor

Amazon Q should not complain about reading from gist on github

Can you give a specific example of the query, and the exact response?

Note that this issue tracker is for the Amazon Q plugin for VSCode. We'll need to forward your request to the Amazon Q service team.

To provide the Amazon Q logs:

  1. In the vscode command palette, run Amazon Q: View Logs. This reveals the Output panel with Amazon Q Logs selected.
  2. Click the gear icon and choose Debug, then click it again and choose Set As Default.
  3. Perform the steps to reproduce the issue.
  4. Remove any private info from the logs.

@svdleer
Copy link
Author

svdleer commented Jan 14, 2025

Amazon Q should not complain about reading from gist on github

Can you give a specific example of the query, and the exact response?

I will report back as soon I encounter the issue again.

Please note this was on Visual Studio Code

@svdleer
Copy link
Author

svdleer commented Jan 21, 2025

2025-01-21 21:07:41.789 [info] request from tab: cx79m6 conversationID: 4ab43b53-ca7e-421f-944c-86a682e074ec request: {
  conversationState: {
    currentMessage: {
      userInputMessage: {
        content: 'please look at my gist for the current source : https://gist.github.com/svdleer/93608d027dd454db729b1f4e25ef2d68',
        userInputMessageContext: {
          editorState: {
            document: {
              [ reacted source] 

2025-01-21 21:07:45.148 [debug] telemetry: amazonq_enterFocusConversation
2025-01-21 21:07:45.148 [info] response to tab: cx79m6 conversationID: 4ab43b53-ca7e-421f-944c-86a682e074ec requestID: 3a895cbf-89a7-4b66-933f-467f166e43c9 metadata: {
  httpStatusCode: 200,
  requestId: '3a895cbf-89a7-4b66-933f-467f166e43c9',
  extendedRequestId: undefined,
  cfId: undefined,
  attempts: 1,
  totalRetryDelay: 0
}
2025-01-21 21:07:49.369 [info] All events received. requestId=3a895cbf-89a7-4b66-933f-467f166e43c9 counts={
  messageMetadataEvent: 1,
  assistantResponseEvent: 2,
  followupPromptEvent: 3
}
2025-01-21 21:07:49.378 [debug] telemetry: amazonq_chatRoundTrip
2025-01-21 21:07:49.378 [debug] telemetry: amazonq_addMessage
2025-01-21 21:07:49.858 [debug] codewhisperer: sendTelemetryEvent requestID: 822150db-1b81-4f7d-acda-6b47c02f05ea
2025-01-21 21:08:09.027 [debug] telemetry: amazonq_exitFocusChat

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
amazon-q codewhisperer feature-request New feature or enhancement. May require GitHub community feedback.
Projects
None yet
Development

No branches or pull requests

2 participants