Prerequisites
Type of Improvement
New Functionality
Proposed Solution
Extend modelConfigurations with a new property for the configuration name:
{
"prompty.modelConfigurations": [
{
"name": "Phi-4 (Foundry Local)",
"model": "Phi-4-mini-instruct-generic-gpu",
"type": "openai",
"api_key": "local",
"organization": "",
"base_url": "http://localhost:5272/v1"
}
]
}
Today, when you specify model configurations in the prompty.modelConfiguration, you have to use the name property to specify the model's name. Since configurations are matched by name, it makes it impossible to have different configurations for using the same model on different hosts (ie. Ollama vs. Foundry Local vs. Azure).
Prerequisites
Type of Improvement
New Functionality
Proposed Solution
Extend modelConfigurations with a new property for the configuration name:
{ "prompty.modelConfigurations": [ { "name": "Phi-4 (Foundry Local)", "model": "Phi-4-mini-instruct-generic-gpu", "type": "openai", "api_key": "local", "organization": "", "base_url": "http://localhost:5272/v1" } ] }Today, when you specify model configurations in the
prompty.modelConfiguration, you have to use thenameproperty to specify the model's name. Since configurations are matched by name, it makes it impossible to have different configurations for using the same model on different hosts (ie. Ollama vs. Foundry Local vs. Azure).