microsoft / microsoft/azurechat

When using Dall-E, pre-checked prompt variables are not used.

Open
#331 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.4k
Forks
1.3k
Avg merge
1d 11h
Merged PRs (30d)
1

Description

When using Dall-E, pre-checked prompt variables are not used.

Receives args and performs value validation, but the value is not actually used, but the prompt (userMessage) entered by the user is directly used.

https://github.com/microsoft/azurechat/blob/ba17a8dd6ed4fb041f8aeaed9900611f31ab5d9c/src/features/chat-page/chat-services/chat-api/chat-api-default-extensions.ts#L50-L81

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read src/features/chat-page/chat-services/chat-api/chat-api-default-extensions.ts around lines 50-81, starting with how the arguments are validated and then used. Confirm the pre-checked prompt-variable values are used instead of directly using the userMessage prompt, and verify the corrected behavior in the relevant chat flow.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
api
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.