Merge remote-tracking branch 'origin/develop' into captain/pdf_support_be

This commit is contained in:
Tanmay Sharma
2025-08-27 13:37:49 +07:00
399 changed files with 6889 additions and 3655 deletions
+1
View File
@@ -4,6 +4,7 @@ module Limits
URL_LENGTH_LIMIT = 2048 # https://stackoverflow.com/questions/417142
OUT_OF_OFFICE_MESSAGE_MAX_LENGTH = 10_000
GREETING_MESSAGE_MAX_LENGTH = 10_000
CATEGORIES_PER_PAGE = 1000
def self.conversation_message_per_minute_limit
ENV.fetch('CONVERSATION_MESSAGE_PER_MINUTE_LIMIT', '200').to_i
+1
View File
@@ -3,4 +3,5 @@
module OpenAiConstants
DEFAULT_MODEL = 'gpt-4.1-mini'
DEFAULT_ENDPOINT = 'https://api.openai.com'
DEFAULT_EMBEDDING_MODEL = 'text-embedding-3-small'
end