diff --git a/legacy/packages/arxiv/src/arxiv-client.ts b/legacy/packages/arxiv/src/arxiv-client.ts index da829967..e6fded0e 100644 --- a/legacy/packages/arxiv/src/arxiv-client.ts +++ b/legacy/packages/arxiv/src/arxiv-client.ts @@ -122,10 +122,9 @@ export class ArXivClient extends AIFunctionsProvider { apiBaseUrl = arxiv.API_BASE_URL, ky = defaultKy }: { - apiKey?: string apiBaseUrl?: string ky?: KyInstance - }) { + } = {}) { super() this.apiBaseUrl = apiBaseUrl diff --git a/legacy/packages/reddit/src/reddit-client.ts b/legacy/packages/reddit/src/reddit-client.ts index 55497b22..02cd03c6 100644 --- a/legacy/packages/reddit/src/reddit-client.ts +++ b/legacy/packages/reddit/src/reddit-client.ts @@ -347,7 +347,7 @@ export class RedditClient extends AIFunctionsProvider { * @see https://old.reddit.com/dev/api/#GET_hot */ @aiFunction({ - name: 'reddit_get_subreddit_posts', + name: 'get_subreddit_posts', description: 'Fetches posts from a subreddit.', inputSchema: z.object({ subreddit: z.string().describe('The subreddit to fetch posts from.'), diff --git a/todo.md b/todo.md index 4daf24f4..ac794559 100644 --- a/todo.md +++ b/todo.md @@ -39,6 +39,7 @@ - add search / sorting - add admin-based tags for main page layout (featured, etc) - replace render for api and/or add turbo for caching (too slow to deploy) +- public-project limit `description` to max 5 lines and show ellipsis ## TODO: Post-MVP