kopia lustrzana https://github.com/transitive-bullshit/chatgpt-api
pull/719/head
rodzic
c668213adb
commit
b33bf065b0
|
@ -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
|
||||
|
|
|
@ -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.'),
|
||||
|
|
1
todo.md
1
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
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue