Conversation
|
This pull request is automatically being deployed by Amplify Hosting (learn more). |
ciscoRankush
left a comment
There was a problem hiding this comment.
We need to define the prompts according to our templates, where we should be able to indicate through prompts which markdowns should be loaded in the context to perform the operations. Let's discuss this further. In your PR, the elements are generic and do not fully meet the actual requirements of the prompts.
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3e6a3c0661
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| ```text | ||
| You are an AI assistant working in this repo. Follow `AGENTS.md` as the top-level router. My task: add a feature to the existing widget <WidgetName>. The feature is: <feature description>. | ||
|
|
||
| Ask any clarifying questions needed to scope the change (inputs, outputs, UX, edge cases). Then route to `ai-docs/templates/existing-widget/feature-enhancement.md` and follow it. Read `packages/contact-center/<widget-name>/ai-docs/AGENTS.md` and `packages/contact-center/<widget-name>/ai-docs/ARCHITECTURE.md` before opening code. Only inspect code once you have full context and requirements. |
There was a problem hiding this comment.
Support task widget doc paths in feature prompt
This prompt hard-codes widget docs to packages/contact-center/<widget-name>/ai-docs/..., but that path does not exist for task widgets (their docs are under packages/contact-center/task/ai-docs/widgets/<WidgetName>/...), so using this template for widgets like TaskList, IncomingTask, or OutdialCall sends the agent to a nonexistent location and undermines the goal of loading architecture context before coding.
Useful? React with 👍 / 👎.
COMPLETES # Adhoc
This pull request addresses
While utilising the ai-docs a general observation was that the agent doesnt open or navigates the given templates or agent.mds that we have created and directly opens the codes and start the reason without understanding the prompt or the architecture of the repo.
by making the following changes
Added some simple initial prompts that can be used by the developers to start their task with these prompts the agent always picks up the correct template and explores all the agent.mds before starting its reasoning
Change Type
The following scenarios were tested
Check the files the agent opens before starting its reasoning
< ENUMERATE TESTS PERFORMED, WHETHER MANUAL OR AUTOMATED >
The GAI Coding Policy And Copyright Annotation Best Practices
Checklist before merging
Make sure to have followed the contributing guidelines before submitting.