mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-19 09:50:15 +01:00
🚀 feat: o1 (#4019)
* feat: o1 default response sender string * feat: add o1 models to default openai models list, add `no_system_messages` error type; refactor: use error type as localization key * refactor(MessageEndpointIcon): differentiate openAI icon model color for o1 models * refactor(AnthropicClient): use new input/output tokens keys; add prompt caching for claude-3-opus * refactor(BaseClient): to use new input/output tokens keys; update typedefs * feat: initial o1 model handling, including token cost complexity * EXPERIMENTAL: special handling for o1 model with custom instructions
This commit is contained in:
parent
9a393be012
commit
45b42830a5
12 changed files with 229 additions and 36 deletions
|
|
@ -24,8 +24,10 @@ export default {
|
|||
com_error_no_base_url: 'No base URL found. Please provide one and try again.',
|
||||
com_warning_resubmit_unsupported:
|
||||
'Resubmitting the AI message is not supported for this endpoint.',
|
||||
com_error_invalid_request:
|
||||
com_error_invalid_request_error:
|
||||
'The AI service rejected the request due to an error. This could be caused by an invalid API key or an improperly formatted request.',
|
||||
com_error_no_system_messages:
|
||||
'The selected AI service or model does not support system messages. Try using prompts instead of custom instructions.',
|
||||
com_error_invalid_user_key: 'Invalid key provided. Please provide a valid key and try again.',
|
||||
com_error_expired_user_key:
|
||||
'Provided key for {0} expired at {1}. Please provide a new key and try again.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue