Skip to content

Commit

Permalink
chore: minor
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Nov 21, 2024
1 parent 0358224 commit 9a94be9
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 26 deletions.
1 change: 0 additions & 1 deletion examples/ai-sdk/bin/browserbase.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createOpenAI } from '@ai-sdk/openai'
Expand Down
1 change: 0 additions & 1 deletion examples/ai-sdk/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createAISDKTools } from '@agentic/ai-sdk'
Expand Down
1 change: 0 additions & 1 deletion examples/dexter/bin/code-interpreter.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createDexterFunctions } from '@agentic/dexter'
Expand Down
1 change: 0 additions & 1 deletion examples/dexter/bin/election-news-chain.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createAIChain, Msg } from '@agentic/core'
Expand Down
1 change: 0 additions & 1 deletion examples/dexter/bin/election-news.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createDexterFunctions } from '@agentic/dexter'
Expand Down
1 change: 0 additions & 1 deletion examples/dexter/bin/extract-user.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { extractObject, Msg } from '@agentic/core'
Expand Down
1 change: 0 additions & 1 deletion examples/dexter/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createDexterFunctions } from '@agentic/dexter'
Expand Down
1 change: 0 additions & 1 deletion examples/genkit/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createGenkitTools } from '@agentic/genkit'
Expand Down
1 change: 0 additions & 1 deletion examples/langchain/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createLangChainTools } from '@agentic/langchain'
Expand Down
1 change: 0 additions & 1 deletion examples/llamaindex/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { createLlamaIndexTools } from '@agentic/llamaindex'
Expand Down
1 change: 0 additions & 1 deletion examples/openai/bin/weather.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
import 'dotenv/config'

import { assert } from '@agentic/core'
Expand Down
21 changes: 6 additions & 15 deletions examples/playground/bin/scratch.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/env node
import 'dotenv/config'

import { SerperClient } from '@agentic/stdlib'
import { ExaClient } from '@agentic/stdlib'
import restoreCursor from 'restore-cursor'

/**
Expand Down Expand Up @@ -130,21 +129,13 @@ async function main() {
// json: true
// })

const serper = new SerperClient()
const res = await serper.search({
q: 'elon musk'
const exa = new ExaClient()
const res = await exa.search({
query: 'OpenAI',
category: 'fodojdifjoidfj'
})
// const wikipedia = new WikipediaClient()
// const res = await wikipedia.getPageSummary({
// title: 'Elon_musk'
// })

console.log(JSON.stringify(res, null, 2))
}

try {
await main()
} catch (err) {
console.error('error', err)
process.exit(1)
}
await main()

0 comments on commit 9a94be9

Please sign in to comment.