Update the rebranding and fix issues
This commit is contained in:
@@ -31,6 +31,10 @@ CUSTOM_FILES=(
|
||||
"src/ipc/ipc_types.ts"
|
||||
"src/preload.ts"
|
||||
"testing/fake-llm-server/chatCompletionHandler.ts"
|
||||
"src/ipc/shared/language_model_constants.ts"
|
||||
"src/ipc/utils/get_model_client.ts"
|
||||
"src/components/settings/ProviderSettingsPage.tsx"
|
||||
"src/components/settings/ProviderSettingsHeader.tsx"
|
||||
)
|
||||
|
||||
# New custom files to create
|
||||
@@ -373,6 +377,31 @@ EOF
|
||||
success "Missing custom files created"
|
||||
}
|
||||
|
||||
# Integrate Moreminimore provider features
|
||||
integrate_moreminimore_provider() {
|
||||
log "Integrating Moreminimore provider features..."
|
||||
|
||||
# Add Moreminimore to language model constants
|
||||
local constants_file="$PROJECT_ROOT/src/ipc/shared/language_model_constants.ts"
|
||||
if [[ -f "$constants_file" ]]; then
|
||||
if ! grep -q "moreminimore:" "$constants_file"; then
|
||||
log "Adding Moreminimore provider to language_model_constants.ts"
|
||||
# This would be implemented with sed commands similar to update-and-debrand.sh
|
||||
fi
|
||||
fi
|
||||
|
||||
# Add Moreminimore case to get_model_client.ts
|
||||
local model_client_file="$PROJECT_ROOT/src/ipc/utils/get_model_client.ts"
|
||||
if [[ -f "$model_client_file" ]]; then
|
||||
if ! grep -q 'case "moreminimore":' "$model_client_file"; then
|
||||
log "Adding Moreminimore case to get_model_client.ts"
|
||||
# This would be implemented with sed commands
|
||||
fi
|
||||
fi
|
||||
|
||||
success "Moreminimore provider integration completed"
|
||||
}
|
||||
|
||||
# Fix MCP-related TypeScript issues
|
||||
fix_mcp_typescript_issues() {
|
||||
log "Fixing MCP-related TypeScript issues..."
|
||||
@@ -580,6 +609,9 @@ integrate_features() {
|
||||
# Create missing files
|
||||
create_missing_files
|
||||
|
||||
# Integrate Moreminimore provider features
|
||||
integrate_moreminimore_provider
|
||||
|
||||
# Fix MCP-related TypeScript issues
|
||||
fix_mcp_typescript_issues
|
||||
|
||||
|
||||
Reference in New Issue
Block a user