kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/715/head
rodzic
d422e91d5b
commit
fc40a5ac30
|
@ -2,11 +2,10 @@ import { defineConfig } from '@agentic/platform'
|
|||
|
||||
export default defineConfig({
|
||||
name: 'test-everything-openapi',
|
||||
// TODO: deployed url
|
||||
originUrl: 'TODO',
|
||||
originUrl: 'https://agentic-platform-fixtures-everything.onrender.com',
|
||||
originAdapter: {
|
||||
type: 'openapi',
|
||||
spec: 'TODO/docs'
|
||||
spec: 'https://agentic-platform-fixtures-everything.onrender.com/docs'
|
||||
},
|
||||
toolConfigs: [
|
||||
{
|
||||
|
|
|
@ -34,7 +34,7 @@ app.doc31('/docs', {
|
|||
info: { title: 'OpenAPI server to test everything', version: '0.1.0' }
|
||||
})
|
||||
|
||||
const port = 3081
|
||||
const port = process.env.PORT ? Number.parseInt(process.env.PORT) : 3081
|
||||
export const server = serve({
|
||||
fetch: app.fetch,
|
||||
port
|
||||
|
|
|
@ -14,7 +14,8 @@ const fixtures = [
|
|||
'pricing-monthly-annual',
|
||||
'pricing-custom-0',
|
||||
'basic-openapi',
|
||||
'basic-mcp'
|
||||
'basic-mcp',
|
||||
'everything-openapi'
|
||||
]
|
||||
|
||||
const invalidFixtures = [
|
||||
|
|
Ładowanie…
Reference in New Issue