Skip to content

Commit

Permalink
Bump OpenAPI SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
homanp committed Feb 10, 2024
1 parent 38e3322 commit 6d7280c
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 29 deletions.
9 changes: 0 additions & 9 deletions .github/ISSUE_TEMPLATE/feature-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,6 @@ body:
description: "A clear and concise description of what the feature request is."
placeholder: "You should add ..."

- type: textarea
id: additional-context
validations:
required: false
attributes:
label: "📝 Additional Context"
description: "Add any other context or screenshots about the feature request here."
placeholder: "..."

- type: checkboxes
id: acknowledgements
attributes:
Expand Down
16 changes: 1 addition & 15 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,4 @@ Depends on

<!-- Include the steps to test your PR -->

-

## Screenshots

<!-- Include screenshots/videos (if any) of how the PR works -->

## Checklist

<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->

- [ ] My code follows the code style of this project and passes `./lint-and-format.sh format`.
- [ ] My change requires a change to the documentation.
- [ ] I have [updated the documentation](https://docs.superagent.sh/) accordingly.
- [ ] My change has adequate unit test coverage.
-
26 changes: 22 additions & 4 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.1
version: 0.2.2
servers:
- url: https://api.beta.superagent.sh
paths:
Expand Down Expand Up @@ -195,8 +195,8 @@ paths:
$ref: '#/components/schemas/HTTPValidationError'
security:
- HTTPBearer: []
x-fern-sdk-method-name: invoke
x-fern-sdk-group-name: agent
x-fern-sdk-method-name: invoke
/api/v1/agents/{agent_id}/llms:
post:
tags:
Expand Down Expand Up @@ -940,7 +940,7 @@ paths:
content:
application/json:
schema:
$ref: '#/components/schemas/app__models__request__Tool'
$ref: '#/components/schemas/ToolUpdate'
required: true
responses:
'200':
Expand Down Expand Up @@ -1786,6 +1786,25 @@ components:
- HTTP
type: string
description: An enumeration.
ToolUpdate:
title: ToolUpdate
type: object
properties:
name:
title: Name
type: string
description:
title: Description
type: string
type:
title: Type
type: string
metadata:
title: Metadata
type: object
returnDirect:
title: Returndirect
type: boolean
ValidationError:
title: ValidationError
required:
Expand Down Expand Up @@ -2021,7 +2040,6 @@ components:
title: Datasource
required:
- name
- description
- type
type: object
properties:
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.1",
version="0.2.2",
servers=[{"url": config("SUPERAGENT_API_URL")}],
)

Expand Down

0 comments on commit 6d7280c

Please sign in to comment.