kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
5ddbac4796
commit
6ad27b1352
|
@ -4,7 +4,7 @@ export default defineConfig([
|
||||||
{
|
{
|
||||||
entry: ['src/server.ts'],
|
entry: ['src/server.ts'],
|
||||||
outDir: 'dist',
|
outDir: 'dist',
|
||||||
target: 'node18',
|
target: 'node22',
|
||||||
platform: 'node',
|
platform: 'node',
|
||||||
format: ['esm'],
|
format: ['esm'],
|
||||||
splitting: false,
|
splitting: false,
|
||||||
|
|
|
@ -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
|
|
||||||
}
|
|
||||||
])
|
|
|
@ -1619,6 +1619,13 @@ exports[`getToolsFromOpenAPISpec > remote spec https://agentic-platform-fixtures
|
||||||
"path": "/custom-cache-control-tool",
|
"path": "/custom-cache-control-tool",
|
||||||
"tags": undefined,
|
"tags": undefined,
|
||||||
},
|
},
|
||||||
|
"custom_rate_limit_approximate_tool": {
|
||||||
|
"method": "post",
|
||||||
|
"operationId": "customRateLimitApproximateTool",
|
||||||
|
"parameterSources": {},
|
||||||
|
"path": "/custom-rate-limit-approximate-tool",
|
||||||
|
"tags": undefined,
|
||||||
|
},
|
||||||
"custom_rate_limit_tool": {
|
"custom_rate_limit_tool": {
|
||||||
"method": "post",
|
"method": "post",
|
||||||
"operationId": "customRateLimitTool",
|
"operationId": "customRateLimitTool",
|
||||||
|
@ -1885,6 +1892,19 @@ exports[`getToolsFromOpenAPISpec > remote spec https://agentic-platform-fixtures
|
||||||
"type": "object",
|
"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",
|
"description": "No store cache control tool",
|
||||||
"inputSchema": {
|
"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": {
|
"inputSchema": {
|
||||||
"properties": {},
|
"properties": {},
|
||||||
"required": [],
|
"required": [],
|
||||||
|
|
|
@ -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": {
|
"/custom-rate-limit-tool": {
|
||||||
"post": {
|
"post": {
|
||||||
"description": "Custom rate limit tool",
|
"description": "Custom rate limit tool (strict mode)",
|
||||||
"operationId": "customRateLimitTool",
|
"operationId": "customRateLimitTool",
|
||||||
"requestBody": {
|
"requestBody": {
|
||||||
"content": {
|
"content": {
|
||||||
|
|
Ładowanie…
Reference in New Issue