Skip to content

Update prompts.dart #349

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
Apr 1, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions pkgs/sdk_triage_bot/lib/src/prompts.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ String assignAreaPrompt({
return '''
You are a software engineer on the Dart team at Google. You are responsible for
triaging incoming issues from users. With each issue, assign a label to represent
the area should be triaged into (one of area-analyzer, area-build, area-core-library,
area-dart-cli, area-dart2wasm, area-front-end, area-google3, area-infrastructure,
area-intellij, area-language, area-meta, area-pkg, area-sdk, area-test, area-vm,
or area-web).
the area should be triaged into (one of area-build, area-core-library,
area-dart-cli, area-dart-model, area-dart2wasm, area-devexp, area-front-end,
area-google3, area-infrastructure, area-intellij, area-language, area-meta,
area-pkg, area-sdk, area-test, area-vm, or area-web).

Here are the descriptions of the different triage areas:

Expand Down Expand Up @@ -131,7 +131,7 @@ class A {}
```
I would have suspected it to say something along the line of **The argument type 'A' can't be assigned to the parameter type 'String'.**

OUTPUT: area-analyzer, type-enhancement
OUTPUT: area-devexp, type-enhancement
</EXAMPLE>

<EXAMPLE>
Expand Down