File tree Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Expand file tree Collapse file tree 4 files changed +41
-0
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
13
13
14
14
- Code actions: Support for JSONC files
15
15
- Code lens: Support for JSONC files
16
+ - Snippets: Added ` devproxy-plugin-language-model-failure ` - LanguageModelFailurePlugin instance
17
+ - Snippets: Added ` devproxy-plugin-language-model-failure-config ` - LanguageModelFailurePlugin config section
16
18
17
19
### Changed:
18
20
Original file line number Diff line number Diff line change @@ -138,6 +138,8 @@ See [Dev Proxy MCP Server](https://github.com/dev-proxy-tools/mcp) for more info
138
138
| ` devproxy-plugin-http-file-generator-config ` | HttpFileGeneratorPlugin config section |
139
139
| ` devproxy-plugin-latency ` | LatencyPlugin instance |
140
140
| ` devproxy-plugin-latency-config ` | LatencyPlugin config section |
141
+ | ` devproxy-plugin-language-model-failure ` | LanguageModelFailurePlugin instance |
142
+ | ` devproxy-plugin-language-model-failure-config ` | LanguageModelFailurePlugin config section |
141
143
| ` devproxy-plugin-minimal-csom-permissions ` | MinimalCsomPermissionsPlugin instance |
142
144
| ` devproxy-plugin-minimal-csom-permissions-config ` | MinimalCsomPermissionsPlugin config section |
143
145
| ` devproxy-plugin-minimal-permissions ` | MinimalPermissionsPlugin instance |
Original file line number Diff line number Diff line change @@ -111,6 +111,13 @@ export const pluginSnippets: PluginSnippets = {
111
111
required : false ,
112
112
}
113
113
} ,
114
+ LanguageModelFailurePlugin : {
115
+ instance : 'devproxy-plugin-language-model-failure' ,
116
+ config : {
117
+ name : 'devproxy-plugin-language-model-failure-config' ,
118
+ required : true ,
119
+ }
120
+ } ,
114
121
LatencyPlugin : {
115
122
instance : 'devproxy-plugin-latency' ,
116
123
config : {
@@ -290,6 +297,10 @@ export const pluginDocs: PluginDocs = {
290
297
name : 'HTTP File Generator Plugin' ,
291
298
url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/httpfilegeneratorplugin' ,
292
299
} ,
300
+ LanguageModelFailurePlugin : {
301
+ name : 'Language Model Failure Plugin' ,
302
+ url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/languagemodelfailureplugin' ,
303
+ } ,
293
304
LatencyPlugin : {
294
305
name : 'Latency Plugin' ,
295
306
url : 'https://learn.microsoft.com/microsoft-cloud/dev/dev-proxy/technical-reference/latencyplugin' ,
Original file line number Diff line number Diff line change 707
707
],
708
708
"description" : " LatencyPlugin config section"
709
709
},
710
+ "LanguageModelFailurePlugin" : {
711
+ "prefix" : " devproxy-plugin-language-model-failure" ,
712
+ "body" : [
713
+ " {" ,
714
+ " \t\" name\" : \" LanguageModelFailurePlugin\" ," ,
715
+ " \t\" enabled\" : true," ,
716
+ " \t\" pluginPath\" : \" ~appFolder/plugins/DevProxy.Plugins.dll\" ," ,
717
+ " \t\" configSection\" : \" languageModelFailurePlugin\" " ,
718
+ " }"
719
+ ],
720
+ "description" : " LanguageModelFailurePlugin instance"
721
+ },
722
+ "LanguageModelFailurePluginConfig" : {
723
+ "prefix" : " devproxy-plugin-language-model-failure-config" ,
724
+ "body" : [
725
+ " \" languageModelFailurePlugin\" : {" ,
726
+ " \t\"\\ $schema\" : \" https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/languagemodelfailureplugin.schema.json\" ," ,
727
+ " \t\" rate\" : 20," ,
728
+ " \t\" failures\" : [" ,
729
+ " \t\t\" rate-limit-reached\" ," ,
730
+ " \t\t\" quota-exceeded\" " ,
731
+ " \t ]" ,
732
+ " }"
733
+ ],
734
+ "description" : " LanguageModelFailurePlugin config section"
735
+ },
710
736
"MinimalCsomPermissionsPlugin" : {
711
737
"prefix" : " devproxy-plugin-minimal-csom-permissions" ,
712
738
"body" : [
You can’t perform that action at this time.
0 commit comments