old-agentic
Travis Fischer 2025-04-10 01:20:33 +07:00
rodzic 1a4ef44f2b
commit 75fc0f9a68
5 zmienionych plików z 8 dodań i 5 usunięć

Wyświetl plik

@ -39,10 +39,13 @@ const baseId = bases[0]!.id
const tables = await airtable.listTables({ baseId }) const tables = await airtable.listTables({ baseId })
console.log('tables', tables) console.log('tables', tables)
const tableId = tables[0]!.id
const searchResults = await airtable.searchRecords({ const searchResults = await airtable.searchRecords({
baseId, baseId,
tableId: tables[0]!.id, tableId,
searchTerm: 'Travis' searchTerm: 'Travis'
}) })
console.log('search results', searchResults) console.log('search results', searchResults)
``` ```
(this is just an example of how you'd use the client)

Wyświetl plik

@ -33,7 +33,7 @@ export class AirtableClient extends AIFunctionsProvider {
} = {}) { } = {}) {
assert( assert(
apiKey, apiKey,
`AirtableClient missing required "username" (defaults to "AIRTABLE_API_KEY")` `AirtableClient missing required "apiKey" (defaults to "AIRTABLE_API_KEY")`
) )
super() super()

Wyświetl plik

@ -293,7 +293,7 @@ export class ApolloClient extends AIFunctionsProvider {
} = {}) { } = {}) {
assert( assert(
apiKey, apiKey,
`ApolloClient missing required "username" (defaults to "APOLLO_API_KEY")` `ApolloClient missing required "apiKey" (defaults to "APOLLO_API_KEY")`
) )
super() super()

Wyświetl plik

@ -131,7 +131,7 @@ export class LeadMagicClient extends AIFunctionsProvider {
} = {}) { } = {}) {
assert( assert(
apiKey, apiKey,
`LeadMagicClient missing required "username" (defaults to "LEADMAGIC_API_KEY")` `LeadMagicClient missing required "apiKey" (defaults to "LEADMAGIC_API_KEY")`
) )
super() super()

Wyświetl plik

@ -163,7 +163,7 @@ export class RocketReachClient extends AIFunctionsProvider {
} = {}) { } = {}) {
assert( assert(
apiKey, apiKey,
`RocketReachClient missing required "username" (defaults to "ROCKETREACH_API_KEY")` `RocketReachClient missing required "apiKey" (defaults to "ROCKETREACH_API_KEY")`
) )
super() super()