Skip to content

Commit

Permalink
Minor tweaks (superagent-ai#440)
Browse files Browse the repository at this point in the history
* Update README.md

* Update data-table.tsx

* Update page.tsx

* Update client-page.tsx

* Update data-table.tsx

* Update columns.tsx

* Update data-table.tsx

* Update workflows.py

* Update schema.prisma

* Update openapi.yml

* Update openapi.yml

* Revert "Update openapi.yml"

This reverts commit 99ccbd6.

* Revert "Update openapi.yml"

This reverts commit 9c87f97.

---------

Co-authored-by: Earl Chase <[email protected]>
  • Loading branch information
homanp and vHugoObject authored Oct 1, 2023
1 parent 8af1574 commit 369825f
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion libs/superagent/app/api/workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
response_model=WorkflowResponse,
)
async def create(body: WorkflowRequest, api_user=Depends(get_current_api_user)):
"""Endpoint for creating a worflow"""
"""Endpoint for creating a workflow"""
try:
if SEGMENT_WRITE_KEY:
analytics.track(api_user.id, "Created Workflow")
Expand Down
2 changes: 1 addition & 1 deletion libs/superagent/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ model ApiUser {
llms LLM[]
datasources Datasource[]
tools Tool[]
worflows Workflow[]
workflows Workflow[]
}

model Agent {
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/app/agents/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ export function DataTable<TData, TValue>({
<FormLabel>APIs</FormLabel>
<FormControl>
<MultiSelect
placeholder="Select api..."
placeholder="Select API..."
data={tools.map((tool: Tool) => ({
value: tool.id,
label: tool.name,
Expand Down
4 changes: 2 additions & 2 deletions libs/ui/app/apis/columns.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function CopyButton({ id }: { id: string }) {
onClick={() => {
navigator.clipboard.writeText(id)
toast({
description: "API id copied to clipboard",
description: "API ID copied to clipboard",
})
}}
>
Expand Down Expand Up @@ -147,7 +147,7 @@ export function EditTool({
className="w-full space-y-4"
>
<DialogHeader>
<DialogTitle>Update api connection</DialogTitle>
<DialogTitle>Update API connection</DialogTitle>
</DialogHeader>
<div className="flex flex-col space-y-2">
<FormField
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/app/apis/data-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ export function DataTable<TData, TValue>({
className="w-full space-y-4"
>
<DialogHeader>
<DialogTitle>Create new api connection</DialogTitle>
<DialogTitle>Create new API connection</DialogTitle>
<DialogDescription>
Connect your agents to thousands of third-party APIs and
tools.
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/app/llms/client-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function LLMClientPage({
<DialogHeader>
<DialogTitle>Configure {llm.name}</DialogTitle>
<DialogDescription>
Enter your OpenAI api key below. You can find your
Enter your OpenAI API key below. You can find your
key by logging into your OpenAI account.
</DialogDescription>
</DialogHeader>
Expand Down
2 changes: 1 addition & 1 deletion libs/ui/app/workflows/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default async function Workflows() {
<div className="flex flex-1 flex-col items-center justify-center">
<Image
src="/workflow.png"
alt="Superagent Agent Worflows"
alt="Superagent Agent Workflows"
width={600}
height={4000}
/>
Expand Down

0 comments on commit 369825f

Please sign in to comment.