|
1787 | 1787 | }, |
1788 | 1788 | "type": "array", |
1789 | 1789 | "title": "Byok Rag" |
| 1790 | + }, |
| 1791 | + "quota_handlers": { |
| 1792 | + "$ref": "#/components/schemas/QuotaHandlersConfiguration" |
1790 | 1793 | } |
1791 | 1794 | }, |
1792 | 1795 | "additionalProperties": false, |
|
3590 | 3593 | } |
3591 | 3594 | ] |
3592 | 3595 | }, |
| 3596 | + "QuotaHandlersConfiguration": { |
| 3597 | + "properties": { |
| 3598 | + "sqlite": { |
| 3599 | + "anyOf": [ |
| 3600 | + { |
| 3601 | + "$ref": "#/components/schemas/SQLiteDatabaseConfiguration" |
| 3602 | + }, |
| 3603 | + { |
| 3604 | + "type": "null" |
| 3605 | + } |
| 3606 | + ] |
| 3607 | + }, |
| 3608 | + "postgres": { |
| 3609 | + "anyOf": [ |
| 3610 | + { |
| 3611 | + "$ref": "#/components/schemas/PostgreSQLDatabaseConfiguration" |
| 3612 | + }, |
| 3613 | + { |
| 3614 | + "type": "null" |
| 3615 | + } |
| 3616 | + ] |
| 3617 | + }, |
| 3618 | + "limiters": { |
| 3619 | + "items": { |
| 3620 | + "$ref": "#/components/schemas/QuotaLimiterConfiguration" |
| 3621 | + }, |
| 3622 | + "type": "array", |
| 3623 | + "title": "Limiters" |
| 3624 | + }, |
| 3625 | + "scheduler": { |
| 3626 | + "$ref": "#/components/schemas/QuotaSchedulerConfiguration" |
| 3627 | + }, |
| 3628 | + "enable_token_history": { |
| 3629 | + "type": "boolean", |
| 3630 | + "title": "Enable Token History", |
| 3631 | + "default": false |
| 3632 | + } |
| 3633 | + }, |
| 3634 | + "additionalProperties": false, |
| 3635 | + "type": "object", |
| 3636 | + "title": "QuotaHandlersConfiguration", |
| 3637 | + "description": "Quota limiter configuration." |
| 3638 | + }, |
| 3639 | + "QuotaLimiterConfiguration": { |
| 3640 | + "properties": { |
| 3641 | + "type": { |
| 3642 | + "type": "string", |
| 3643 | + "enum": [ |
| 3644 | + "user_limiter", |
| 3645 | + "cluster_limiter" |
| 3646 | + ], |
| 3647 | + "title": "Type" |
| 3648 | + }, |
| 3649 | + "name": { |
| 3650 | + "type": "string", |
| 3651 | + "title": "Name" |
| 3652 | + }, |
| 3653 | + "initial_quota": { |
| 3654 | + "type": "integer", |
| 3655 | + "minimum": 0.0, |
| 3656 | + "title": "Initial Quota" |
| 3657 | + }, |
| 3658 | + "quota_increase": { |
| 3659 | + "type": "integer", |
| 3660 | + "minimum": 0.0, |
| 3661 | + "title": "Quota Increase" |
| 3662 | + }, |
| 3663 | + "period": { |
| 3664 | + "type": "string", |
| 3665 | + "title": "Period" |
| 3666 | + } |
| 3667 | + }, |
| 3668 | + "additionalProperties": false, |
| 3669 | + "type": "object", |
| 3670 | + "required": [ |
| 3671 | + "type", |
| 3672 | + "name", |
| 3673 | + "initial_quota", |
| 3674 | + "quota_increase", |
| 3675 | + "period" |
| 3676 | + ], |
| 3677 | + "title": "QuotaLimiterConfiguration", |
| 3678 | + "description": "Configuration for one quota limiter." |
| 3679 | + }, |
| 3680 | + "QuotaSchedulerConfiguration": { |
| 3681 | + "properties": { |
| 3682 | + "period": { |
| 3683 | + "type": "integer", |
| 3684 | + "exclusiveMinimum": 0.0, |
| 3685 | + "title": "Period", |
| 3686 | + "default": 1 |
| 3687 | + } |
| 3688 | + }, |
| 3689 | + "type": "object", |
| 3690 | + "title": "QuotaSchedulerConfiguration", |
| 3691 | + "description": "Quota scheduler configuration." |
| 3692 | + }, |
3593 | 3693 | "RAGChunk": { |
3594 | 3694 | "properties": { |
3595 | 3695 | "content": { |
|
3973 | 4073 | "title": "ToolsResponse", |
3974 | 4074 | "description": "Model representing a response to tools request." |
3975 | 4075 | }, |
3976 | | - "UnauthorizedResponse": { |
3977 | | - "properties": { |
3978 | | - "tools": { |
3979 | | - "items": { |
3980 | | - "additionalProperties": true, |
3981 | | - "type": "object" |
3982 | | - }, |
3983 | | - "type": "array", |
3984 | | - "title": "Tools", |
3985 | | - "description": "List of tools available from all configured MCP servers and built-in toolgroups", |
3986 | | - "examples": [ |
3987 | | - [ |
3988 | | - { |
3989 | | - "description": "Read contents of a file from the filesystem", |
3990 | | - "identifier": "filesystem_read", |
3991 | | - "parameters": [ |
3992 | | - { |
3993 | | - "description": "Path to the file to read", |
3994 | | - "name": "path", |
3995 | | - "parameter_type": "string", |
3996 | | - "required": true |
3997 | | - } |
3998 | | - ], |
3999 | | - "provider_id": "model-context-protocol", |
4000 | | - "server_source": "http://localhost:3000", |
4001 | | - "toolgroup_id": "filesystem-tools", |
4002 | | - "type": "tool" |
4003 | | - } |
4004 | | - ] |
4005 | | - ] |
4006 | | - } |
4007 | | - }, |
4008 | | - "type": "object", |
4009 | | - "required": [ |
4010 | | - "tools" |
4011 | | - ], |
4012 | | - "title": "ToolsResponse", |
4013 | | - "description": "Model representing a response to tools request." |
4014 | | - }, |
4015 | 4076 | "UnauthorizedResponse": { |
4016 | 4077 | "properties": { |
4017 | 4078 | "detail": { |
|
0 commit comments