Skip to content

Commit

Permalink
Bump OpenAI spec
Browse files Browse the repository at this point in the history
  • Loading branch information
homanp committed Feb 19, 2024
1 parent 6bb8eb3 commit e942465
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 69 deletions.
76 changes: 8 additions & 68 deletions fern/apis/prod/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ openapi: 3.0.2
info:
title: Superagent
description: The Open Source AI Assistant Framework & API
version: 0.2.6
version: 0.2.8
servers:
- url: https://api.beta.superagent.sh
paths:
Expand Down Expand Up @@ -1423,59 +1423,6 @@ paths:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
/api/v1/runs:
get:
tags:
- Telemetry
summary: List Runs
description: List runs
operationId: list_runs_api_v1_runs_get
parameters:
- required: false
schema:
title: Agent Id
type: string
name: agent_id
in: query
- required: false
schema:
title: From Page
type: integer
name: from_page
in: query
- required: false
schema:
title: To Page
type: integer
name: to_page
in: query
- required: false
schema:
title: Limit
type: integer
name: limit
in: query
- required: false
schema:
title: Workflow Id
type: string
name: workflow_id
in: query
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/AgentRunList'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
components:
schemas:
AgentDatasosurceList:
Expand Down Expand Up @@ -1510,20 +1457,6 @@ components:
total_pages:
title: Total Pages
type: integer
AgentRunList:
title: AgentRunList
required:
- success
type: object
properties:
success:
title: Success
type: boolean
data:
title: Data
type: array
items:
type: object
AgentToolList:
title: AgentToolList
required:
Expand All @@ -1543,6 +1476,7 @@ components:
enum:
- SUPERAGENT
- OPENAI_ASSISTANT
- LLM
type: string
description: An enumeration.
AgentUpdate:
Expand Down Expand Up @@ -1694,6 +1628,8 @@ components:
- OPENAI
- AZURE_OPENAI
- HUGGINGFACE
- PERPLEXITY
- TOGETHER_AI
type: string
description: An enumeration.
OpenAiAssistantParameters:
Expand Down Expand Up @@ -1784,6 +1720,7 @@ components:
- HAND_OFF
- FUNCTION
- HTTP
- SUPERRAG
type: string
description: An enumeration.
ToolUpdate:
Expand Down Expand Up @@ -1970,6 +1907,9 @@ components:
default: SUPERAGENT
parameters:
$ref: '#/components/schemas/OpenAiAssistantParameters'
metadata:
title: Metadata
type: object
app__models__request__AgentDatasource:
title: AgentDatasource
required:
Expand Down
2 changes: 1 addition & 1 deletion libs/superagent/app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
title="Superagent",
docs_url="/",
description="The Open Source AI Assistant Framework & API",
version="0.2.6",
version="0.2.8",
servers=[{"url": config("SUPERAGENT_API_URL")}],
)

Expand Down

0 comments on commit e942465

Please sign in to comment.