Add new code snippets to src/snippets.json for the LanguageModelRateLimitingPlugin, as documented at https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/languagemodelratelimitingplugin.
Requirements:
- Add a snippet for a LanguageModelRateLimitingPlugin instance.
- Add a snippet for the LanguageModelRateLimitingPlugin configuration section.
- Follow the existing format used for other plugins in
src/snippets.json (see @garrytrinder/dev-proxy-toolkit/files/src/snippets.json for reference).
- Include an example plugin instance and configuration section in the new snippets.
Snippet Examples:
Plugin instance:
{
"name": "LanguageModelRateLimitingPlugin",
"enabled": true,
"pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll",
"configSection": "languageModelRateLimitingPlugin"
}
Plugin config section:
"languageModelRateLimitingPlugin": {
"$schema": "https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/languagemodelratelimitingplugin.schema.json",
"rateLimit": 100,
"retryAfterSeconds": 60
}
Acceptance Criteria:
- New snippets appear in
src/snippets.json for LanguageModelRateLimitingPlugin, matching the established style and structure.
- Example values are provided for plugin instance and configuration section, consistent with official documentation.
- Snippet descriptions are clear and follow the convention used for other plugin entries.
Please see the official documentation and the existing file for reference.
Add new code snippets to
src/snippets.jsonfor the LanguageModelRateLimitingPlugin, as documented at https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/languagemodelratelimitingplugin.Requirements:
src/snippets.json(see @garrytrinder/dev-proxy-toolkit/files/src/snippets.json for reference).Snippet Examples:
Plugin instance:
{ "name": "LanguageModelRateLimitingPlugin", "enabled": true, "pluginPath": "~appFolder/plugins/DevProxy.Plugins.dll", "configSection": "languageModelRateLimitingPlugin" }Plugin config section:
Acceptance Criteria:
src/snippets.jsonfor LanguageModelRateLimitingPlugin, matching the established style and structure.Please see the official documentation and the existing file for reference.