* Add support for Amazon Nova
* fix linting issue
* fix: replace model.id check with `isNova` flag and remove debug logs
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
fix(endpoints): make bedrock import optional (#1468)
Add support for Anthropic models via AWS Bedrock (#1413)
ABarLT+1: nsarrazin
Unverified signature
b6274e8
* Add support for Anthropic models via AWS Bedrock
* deps
* Fixed type errors
* Temporary fix for continue button showing up on Claude
* Fix continue button issue by setting the last message token's special to true
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Dynamic credential resolution for AWS endpoints (#1419)
Mike Nason+1: nsarrazin
Unverified signature
48ab25e
* Dynamic credential resolution for AWS endpoints
If AWS credentials are provided, they will continue to be used. With this
change, they become optional parameters and the AWS SDK will attempt to
use the default resolution chain if they are not provided.
* cleanup deps
* restore optional aws region in endpointAwsParametersSchema
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Expose sampling controls in assistants (#955) (#959)
* work on branching
* branching
* work on input field
* wip
* wip
* helper stuff
* pass tests
* add type guards and clean up type requirements
* fixed shared conv type
* more helpers stuff
* clean up code
* addChildren helper
* addSibling
* add test for addSibling & refacto addChildren tests
* backend work pt. 1
* backend done
* add children property to messages for easier frontend rendering
* fix message id type rail
* front-end work on simple linear conversation
* fix title generation
* convert conversations on post
* server side retry works with branching
* clean up buttons
* fix retry feature backend
* Send new messages in any subtree
* make edit previous prompts feature work
* fix padding
* revert unneeded changes
* bring back pending message
* fix front-end streaming
* fix initial message
* Revert "fix initial message"
This reverts commit 6257fe8789c52a20e7506aa453efda55c16e95bb.
* Fix bug subtree state refresh
* fix continue feature on shared co…
Add support for passing an API key or any other custom token in the authorization header (#579)
Galén+1: nsarrazin
Unverified signature
3eb7ff2
* Add support for passing an API key or any other custom token in the authorization header
* Make linter happy
* Fix README as per linter suggestions
* Refactor endpoints to actually parse zod config
* Remove top level env var and simplify header addition
* Skip section on API key or other, remove obsolete comment in endpointTgi.ts and remote CUSTOM_AUTHORIZATION_TOKEN from .env
---------
Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>
Modular backends & support for openAI & AWS endpoints (#541)
nsarrazin+4: chenhunghan, Henry Chen, Mishig, Eliott C.
Unverified signature
0ab1dfb
* Fix the response
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Should use /completions
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Use async generator
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Use openai npm
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Fix generateFromDefaultEndpoint
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Fix last char become undefined
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Better support for system prompt
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Updates
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Revert
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Update README
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Default system prompt
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* remove sk-
Signed-off-by: Hung-Han (Henry) Chen <chenhungh@gmail.com>
* Fixing t…