pull/715/head
Travis Fischer 2025-06-13 05:04:58 +07:00
rodzic 5ddbac4796
commit 6ad27b1352
4 zmienionych plików z 52 dodań i 19 usunięć

Wyświetl plik

@ -4,7 +4,7 @@ export default defineConfig([
{
entry: ['src/server.ts'],
outDir: 'dist',
target: 'node18',
target: 'node22',
platform: 'node',
format: ['esm'],
splitting: false,

Wyświetl plik

@ -1,16 +0,0 @@
import { defineConfig } from 'tsup'
export default defineConfig([
{
entry: ['src/worker.ts'],
outDir: 'dist',
target: 'es2021',
platform: 'browser',
format: ['esm'],
splitting: false,
sourcemap: true,
minify: false,
shims: true,
dts: true
}
])

Wyświetl plik

@ -1619,6 +1619,13 @@ exports[`getToolsFromOpenAPISpec > remote spec https://agentic-platform-fixtures
"path": "/custom-cache-control-tool",
"tags": undefined,
},
"custom_rate_limit_approximate_tool": {
"method": "post",
"operationId": "customRateLimitApproximateTool",
"parameterSources": {},
"path": "/custom-rate-limit-approximate-tool",
"tags": undefined,
},
"custom_rate_limit_tool": {
"method": "post",
"operationId": "customRateLimitTool",
@ -1885,6 +1892,19 @@ exports[`getToolsFromOpenAPISpec > remote spec https://agentic-platform-fixtures
"type": "object",
},
},
{
"description": "Custom rate limit tool (approximate mode)",
"inputSchema": {
"properties": {},
"required": [],
"type": "object",
},
"name": "custom_rate_limit_approximate_tool",
"outputSchema": {
"properties": {},
"type": "object",
},
},
{
"description": "No store cache control tool",
"inputSchema": {
@ -1912,7 +1932,7 @@ exports[`getToolsFromOpenAPISpec > remote spec https://agentic-platform-fixtures
},
},
{
"description": "Custom rate limit tool",
"description": "Custom rate limit tool (strict mode)",
"inputSchema": {
"properties": {},
"required": [],

Wyświetl plik

@ -22568,9 +22568,38 @@ exports[`validateOpenAPISpec > remote spec https://agentic-platform-fixtures-eve
},
},
},
"/custom-rate-limit-approximate-tool": {
"post": {
"description": "Custom rate limit tool (approximate mode)",
"operationId": "customRateLimitApproximateTool",
"requestBody": {
"content": {
"application/json": {
"schema": {
"properties": {},
"type": "object",
},
},
},
},
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"properties": {},
"type": "object",
},
},
},
"description": "Echoed request body",
},
},
},
},
"/custom-rate-limit-tool": {
"post": {
"description": "Custom rate limit tool",
"description": "Custom rate limit tool (strict mode)",
"operationId": "customRateLimitTool",
"requestBody": {
"content": {