Skip to content

Missing prompty configuration setting: MissingDeployment. #260

@izzy0802

Description

@izzy0802

I did exactly as the lab and put the code "cp ../docs/workshop/src/1-build/chat-0.prompty ."

and it stayed like this:

type: azure_openai
azure_endpoint: ${env:AZURE_OPENAI_ENDPOINT}
azure_deployment: ${env:AZURE_OPENAI_CHAT_DEPLOYMENT}
api_version: 2024-07-01-preview

But whenever I run it, it takes me to the configuration file and I don’t know what I should change or what to do.

and in the output it gives this:

2025-05-14 01:37:39.409 [info] Missing prompty configuration setting: MissingDeployment. Your setting is {"name":"default","type":"azure_openai","api_version":"2024-07-01-preview","groupId":0}

default configuration file of the repository:

{
"github.copilot.chat.codeGeneration.instructions": [
{
"text": "- @Azure Rule - Use Azure Best Practices: When generating code for Azure, running terminal commands for Azure, or performing operations related to Azure, invoke your azure_development-get_best_practices tool if available."
}
],
"@azure.argTenant": "348f2fce-8831-4de6-a303-75cae895171e",
"prompty.modelConfigurations": [

    {
        "name": "default",
        "type": "azure_openai",
        "api_version": "2023-12-01-preview",
        "azure_endpoint": "${env:AZURE_OPENAI_ENDPOINT}",
        "azure_deployment": ""
    },
    {
        "name": "gpt-3.5-turbo",
        "type": "openai",
        "api_key": "${env:OPENAI_API_KEY}",
        "organization": "${env:OPENAI_ORG_ID}",
        "base_url": "${env:OPENAI_BASE_URL}"
    }
]

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions