matt HOFFNER
commited on
Commit
β’
33ee259
1
Parent(s):
9c9d521
update names
Browse files- app/tools/odds.ts +1 -1
- 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 = '
|
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 = '
|
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>) => {
|