Mark Percival
93e70c62f1
Chore: Prettier for consistant formatting ( #794 )
...
* Chore: Pretier for consistant formatting
- TODO: This PR needs to be updated by Saoud after he runs `npm install` & `npm format:fix` and commits the results of the prettier changes.
* Revert prettier config
* Run npm install
* Fix prettier config and ignore package lock
* Run format
---------
Co-authored-by: Saoud Rizwan <7799382+saoudrizwan@users.noreply.github.com >
2024-11-21 13:13:54 -08:00
Saoud Rizwan
39bc35eec1
Add LM Studio provider
2024-11-12 22:02:42 -05:00
Saoud Rizwan
bac0b1a0cb
Add prompt caching for new model ids on openrouter
2024-11-12 18:35:51 -05:00
Saoud Rizwan
ad29ff2a03
Add AWS cross-region inference toggle
2024-11-07 13:51:13 -05:00
Saoud Rizwan
48cdfa9874
Add Haiku 3.5 to Anthropic, Bedrock, Vertex
2024-11-04 14:08:25 -05:00
Saoud Rizwan
62688c261a
Prepare for release
2024-10-22 16:22:37 -04:00
Saoud Rizwan
165272ab47
Update Anthropic model IDs
2024-10-22 16:21:17 -04:00
Saoud Rizwan
9052528d2b
Fix o1 in openai native
2024-10-18 07:56:15 -04:00
Saoud Rizwan
90b0c8243c
Fixes
2024-10-16 18:00:53 -04:00
Saoud Rizwan
dff81b9d09
Fix o1 on openai native
2024-10-16 09:59:30 -04:00
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
Saoud Rizwan
ae770a1c6a
Fix OpenAI o1 temp error
2024-09-22 21:00:53 -04:00
Saoud Rizwan
abb4a0143e
Add Azure API version option
2024-09-20 10:56:26 -04:00
Saoud Rizwan
4d1db22fe3
Set temperature to 0.2
2024-09-20 10:27:58 -04:00
Saoud Rizwan
a888520b36
Fix type error
2024-09-14 16:51:44 -04:00
Saoud Rizwan
72dcf1f9a2
Fix o1 with new max_completion_tokens
2024-09-14 04:03:00 -04:00
Saoud Rizwan
adceb76775
Add o1 support
2024-09-13 16:37:04 -04:00
Saoud Rizwan
dc617a92a9
Add prompt caching to openrouter; remove o1 since it doesn't support tool use
2024-09-13 00:49:04 -04:00
Saoud Rizwan
4b44e8f921
Add OpenAI provider
2024-09-12 15:01:28 -04:00
Saoud Rizwan
3b004aed37
Fix gemini message conversion
2024-09-12 11:49:32 -04:00
Saoud Rizwan
fbb7620fa1
Add gemini support
2024-09-12 08:11:33 -04:00
Saoud Rizwan
3ceb881de2
Add azure openai support
2024-09-11 08:07:37 -04:00
Saoud Rizwan
a6c64bea8f
Add terminal output and diagnostics to relevant details
2024-09-08 18:06:52 -04:00
Saoud Rizwan
ca4ad1d0b3
Add anthropicBaseUrl option
2024-09-07 07:31:29 -04:00
Saoud Rizwan
9eaf753000
Add ollama models polling
2024-09-06 04:51:17 -04:00
Saoud Rizwan
286e569e09
Add ollama provider option
2024-09-03 23:03:30 -04:00
Saoud Rizwan
c209198b23
Add openai compatible provider
2024-09-03 17:08:29 -04:00
Saoud Rizwan
0badfa2706
Add support for aws credentials file or environment variables, and session token
2024-09-03 13:58:21 -04:00
Saoud Rizwan
13af5992af
Add GCP Vertex AI provider
2024-08-28 05:35:49 -04:00
Saoud Rizwan
843ef29a07
Remove Kodu provider
2024-08-27 21:38:01 -04:00