kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
old-agentic-v1^2
rodzic
c788dcc968
commit
b755db7c67
|
@ -23,6 +23,10 @@ export class MetaphorClient {
|
|||
apiKey?: string
|
||||
baseUrl?: string
|
||||
} = {}) {
|
||||
if (!apiKey) {
|
||||
throw new Error(`Error MetaphorClient missing required "apiKey"`)
|
||||
}
|
||||
|
||||
this.apiKey = apiKey
|
||||
this.baseUrl = baseUrl
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ export const MetaphorSearchToolOutputSchema = z.object({
|
|||
dateCreated: z.string().optional(),
|
||||
score: z.number(),
|
||||
title: z.string(),
|
||||
URL: z.string()
|
||||
url: z.string()
|
||||
})
|
||||
)
|
||||
})
|
||||
|
|
Ładowanie…
Reference in New Issue