More work on modelProviders

I think everything that's OpenAI-specific is inside modelProviders at this point, so we can get started adding more providers.
This commit is contained in:
Kyle Corbitt
2023-07-20 18:54:26 -07:00
parent ded6678e97
commit 332a2101c0
21 changed files with 344 additions and 330 deletions

1
src/utils/utils.ts Normal file
View File

@@ -0,0 +1 @@
export const truthyFilter = <T>(x: T | null | undefined): x is T => Boolean(x);