microsoft / microsoft/ai-dev-gallery

[BUG] Samples exported with custom models do not include the prompt template

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

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
1.5k
Forks
223
PR merge metrics
No merged PRs in 30d

Description

To Reproduce
Steps to reproduce the behavior:

  1. Add a custom model (such as llama)
  2. Go to any genai sample and select the custom model
  3. Export the project
  4. Notice the generated project does not include the prompt template

Expected behavior
The exported project should work just fine with custom models, not with just curated models

Contributor guide

No contributing guide indexed for this repository

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

Start with the genai sample's custom-model selection and project export flow, then trace how curated models provide the prompt template. Reproduce the export with a custom model such as llama and verify that the generated project contains the template and works as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
ai, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.