|
733 | 733 | ], |
734 | 734 | "description": "LanguageModelFailurePlugin config section" |
735 | 735 | }, |
| 736 | + "LanguageModelRateLimitingPlugin": { |
| 737 | + "prefix": "devproxy-plugin-language-model-rate-limiting", |
| 738 | + "body": [ |
| 739 | + "{", |
| 740 | + "\t\"name\": \"LanguageModelRateLimitingPlugin\",", |
| 741 | + "\t\"enabled\": true,", |
| 742 | + "\t\"pluginPath\": \"~appFolder/plugins/DevProxy.Plugins.dll\",", |
| 743 | + "\t\"configSection\": \"languageModelRateLimitingPlugin\"", |
| 744 | + "}" |
| 745 | + ], |
| 746 | + "description": "LanguageModelRateLimitingPlugin instance" |
| 747 | + }, |
| 748 | + "LanguageModelRateLimitingPluginConfig": { |
| 749 | + "prefix": "devproxy-plugin-language-model-rate-limiting-config", |
| 750 | + "body": [ |
| 751 | + "\"languageModelRateLimitingPlugin\": {", |
| 752 | + "\t\"\\$schema\": \"https://raw.githubusercontent.com/dotnet/dev-proxy/main/schemas/v1.0.0/languagemodelratelimitingplugin.schema.json\",", |
| 753 | + "\t\"promptTokenLimit\": 5000,", |
| 754 | + "\t\"completionTokenLimit\": 5000,", |
| 755 | + "\t\"resetTimeWindowSeconds\": 60,", |
| 756 | + "\t\"whenLimitExceeded\": \"Throttle\",", |
| 757 | + "\t\"headerRetryAfter\": \"retry-after\"", |
| 758 | + "}" |
| 759 | + ], |
| 760 | + "description": "LanguageModelRateLimitingPlugin config section" |
| 761 | + }, |
736 | 762 | "MinimalCsomPermissionsPlugin": { |
737 | 763 | "prefix": "devproxy-plugin-minimal-csom-permissions", |
738 | 764 | "body": [ |
|
0 commit comments