Skip to content

Commit

Permalink
telemetry(amazonq): Aligning telemetry strings in VSC and JB. (#5382)
Browse files Browse the repository at this point in the history
* Adding truncation logic to testGen user prompt

* Adding change log

* Updating telemetry error message to align VSC and JB

* Removing unwanted files
  • Loading branch information
laileni-aws authored Feb 18, 2025
1 parent 3ef26d8 commit 2eca5a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ class CodeWhispererUTGChatManager(val project: Project, private val cs: Coroutin
// TODO: Modify text according to FnF
codeTestChatHelper.addAnswer(
CodeTestChatMessageContent(
message = message("testgen.message.failed"),
message = message("testgen.error.generic_technical_error_message"),
type = ChatMessageType.Answer,
canBeVoted = true
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2068,7 +2068,7 @@ testgen.error.generic_error_message=Amazon Q encountered an error while generati
testgen.error.generic_technical_error_message=I am experiencing technical difficulties at the moment. Please try again in a few minutes.
testgen.error.maximum_generations_reach=You've reached the monthly quota for Amazon Q Developer's agent capabilities. You can try again next month. For more information on usage limits, see the <a href=\"https://aws.amazon.com/q/developer/pricing/\" target=\"_blank\">Amazon Q Developer pricing page</a>.
testgen.message.cancelled=Unit test generation cancelled.
testgen.message.failed=Sorry, Test generation failed. Please try again in few minutes.
testgen.message.failed=Test generation failed
testgen.message.regenerate_input=Sure thing. Please provide new instructions for me to generate the tests, and select the function(s) you would like to test.
testgen.message.success=Unit test generation completed.
testgen.no_file_found=Sorry, there isn't a source file open right now that I can generate a test for. Make sure you open a source file so I can generate tests.
Expand Down

0 comments on commit 2eca5a7

Please sign in to comment.