Commit Graph

21 Commits

Author SHA1 Message Date
Saoud Rizwan
bf05131b81 Update openrouter referer 2024-10-09 03:43:30 -04:00
Saoud Rizwan
554c4004d3 Fixes 2024-10-09 01:50:00 -04:00
Saoud Rizwan
a4de927696 Fix openrouter generation failure 2024-10-09 01:50:00 -04:00
Saoud Rizwan
ccb4738d7e Use or instead of null coalescing instead since state may return non undefined for new values 2024-10-09 01:50:00 -04:00
Saoud Rizwan
729e32514e Use openrouter generation endpoint for usage reporting 2024-10-09 01:50:00 -04:00
Saoud Rizwan
da505170d4 Fixes 2024-10-09 01:50:00 -04:00
Saoud Rizwan
8f4a65bc79 Fixes 2024-10-09 01:49:59 -04:00
Saoud Rizwan
f6a14fdfb9 Add markdown rendering for model description; fixes 2024-10-09 01:49:57 -04:00
Saoud Rizwan
7cb0c524e5 Add OpenRouter custom model scheme 2024-10-09 01:49:57 -04:00
Saoud Rizwan
2de5971adc Add comment 2024-10-09 01:49:56 -04:00
Saoud Rizwan
2ed84244d5 Remove logs 2024-10-09 01:49:55 -04:00
Saoud Rizwan
06ccaf6f67 Implement streaming for all providers 2024-10-09 01:49:55 -04:00
Saoud Rizwan
59c188019a Get openrouter streaming working 2024-10-09 01:49:55 -04:00
Saoud Rizwan
7271152f62 Add ApiStream generator to interface with providers 2024-10-09 01:49:55 -04:00
Saoud Rizwan
19a0ac00bd Remove logs 2024-10-09 01:49:55 -04:00
Saoud Rizwan
c1f3185e00 Bug fixes 2024-10-09 01:49:55 -04:00
Saoud Rizwan
b1dcff8f64 Use custom tool calling prompts to get streaming working 2024-10-09 01:49:54 -04:00
Saoud Rizwan
1cc3546b7e Initial streaming refactor 2024-10-09 01:49:54 -04:00
Saoud Rizwan
d81002decc Refactor Azure OpenAI default version 2024-09-24 12:45:24 -04:00
Saoud Rizwan
05389b7dd5 Fix imports 2024-09-24 12:05:54 -04:00
Saoud Rizwan
a009c84597 Refactor API 2024-09-24 10:43:31 -04:00