matt HOFFNER commited on
Commit
33ee259
β€’
1 Parent(s): 9c9d521

update names

Browse files
Files changed (2) hide show
  1. app/tools/odds.ts +1 -1
  2. app/tools/scores.ts +1 -1
app/tools/odds.ts CHANGED
@@ -5,7 +5,7 @@ function createOddsApi({ apiKey }: { apiKey: string }) {
5
  const paramsSchema = z.object({
6
  input: z.string(),
7
  });
8
- const name = 'sports odds';
9
  const description = 'A realtime Sports Odds API. Useful for when you need to answer questions about sports odds, currently NBA and NFL. Input should be a string including a sport (nba or nfl), optionally including type (h2h, spread or o/u). Outputs a JSON array of results.';
10
 
11
  const execute = async ({ input }: z.infer<typeof paramsSchema>) => {
 
5
  const paramsSchema = z.object({
6
  input: z.string(),
7
  });
8
+ const name = 'sports_odds';
9
  const description = 'A realtime Sports Odds API. Useful for when you need to answer questions about sports odds, currently NBA and NFL. Input should be a string including a sport (nba or nfl), optionally including type (h2h, spread or o/u). Outputs a JSON array of results.';
10
 
11
  const execute = async ({ input }: z.infer<typeof paramsSchema>) => {
app/tools/scores.ts CHANGED
@@ -6,7 +6,7 @@ function createSportsResultsApi({ apiKey }: { apiKey: string }) {
6
  const paramsSchema = z.object({
7
  input: z.string(),
8
  });
9
- const name = 'sports results';
10
  const description = 'A custom search engine for sports scores and results. Useful for when you need to answer questions about current sports scores (like nba or nfl). Input should be a search query. Outputs a JSON array of results.';
11
 
12
  const execute = async ({ input }: z.infer<typeof paramsSchema>) => {
 
6
  const paramsSchema = z.object({
7
  input: z.string(),
8
  });
9
+ const name = 'sports_results';
10
  const description = 'A custom search engine for sports scores and results. Useful for when you need to answer questions about current sports scores (like nba or nfl). Input should be a search query. Outputs a JSON array of results.';
11
 
12
  const execute = async ({ input }: z.infer<typeof paramsSchema>) => {