chore(brand): rename the product to ReplyPier
The upstream project name is gone from code, assets, docs and build
output: brand strings, domains (replypier.site and its app/api/docs/help
subdomains), env prefixes, image and network names, the widget's public
JS API (window.ReplyPier, replypierId/BaseUrl/Config/Token), CSS tokens
(--rp-*), file and directory names, and the WordPress plugin package.
- widget loader is now webclient/replypier.min.js; both bundles rebuilt
from source (backend/assets/widget.{js,css}, frontend/public/webclient)
- NOTICE, llms.txt, CONTRIBUTING, HELP_CENTER_INFRA and config.dev.js
rewritten rather than string-swapped; the demo config no longer ships
the previous vendor's Firebase/Razorpay/Google keys
- new migration replypier_ai_model_001 adds REPLYPIER to the managed
AIModelType and rewrites pre-rename rows
- local compose project, database, role and volume renamed; LOCAL_DEPLOY
documents carrying the old local data over
This commit is contained in:
1 parent
ff0a09f0e5
commit
54b949b392
1156 files changed
+7292
-7147
No files matched your search
@@ -1,5 +1,5 @@
|
||||
"""
|
||||
Copyright 2024-2026 ChatterMate
|
||||
Copyright 2024-2026 ReplyPier
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -723,23 +723,23 @@ async def generate_instructions(
|
||||
except ImportError:
|
||||
HAS_ENTERPRISE = False
|
||||
|
||||
# Get API key and model - first check for ChatterMate config if enterprise is available
|
||||
# Get API key and model - first check for ReplyPier config if enterprise is available
|
||||
api_key = ""
|
||||
model_name = ""
|
||||
model_type = ""
|
||||
base_url = None
|
||||
|
||||
if HAS_ENTERPRISE:
|
||||
# Use Groq/OpenAI with keys from env for ChatterMate model
|
||||
# Use Groq/OpenAI with keys from env for ReplyPier model
|
||||
model_type = 'OPENAI'
|
||||
model_name = os.getenv('CHATTERMATE_MODEL_NAME', 'gpt-4o-mini')
|
||||
api_key = os.getenv('CHATTERMATE_API_KEY', '')
|
||||
model_name = os.getenv('REPLYPIER_MODEL_NAME', 'gpt-4o-mini')
|
||||
api_key = os.getenv('REPLYPIER_API_KEY', '')
|
||||
|
||||
if not api_key:
|
||||
logger.error("ChatterMate API key not found in environment")
|
||||
logger.error("ReplyPier API key not found in environment")
|
||||
raise HTTPException(
|
||||
status_code=500,
|
||||
detail="ChatterMate API configuration missing"
|
||||
detail="ReplyPier API configuration missing"
|
||||
)
|
||||
else:
|
||||
# Get from organization's AI config
|
||||
|
||||
Reference in new issue
Block a user