Commit Graph

1544 Commits

Author SHA1 Message Date
Nirmal Arya
69a2c135a3 release multiple model support Bayer MGA 2025-06-17 05:48:15 -04:00
Nirmal Arya
ce05f3e023
Merge pull request #31 from bayer-int/fix/bayer-mga-model-selection
Fix Bayer MGA provider model selection and improve error handling
2025-06-17 05:23:51 -04:00
Nirmal Arya
0ecb5af30e Fix Bayer MGA provider model selection and improve error handling
- Enhanced BayerMGAProvider getModelInstance method with model validation
- Added fallback mechanism when requested model is not available
- Improved dynamic model filtering with better validation
- Added UI model selection handling for unavailable models
- Added README.md to ECR deploy workflow paths-ignore

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 05:22:17 -04:00
Nirmal Arya
2127d113f0
Merge pull request #30 from bayer-int/feature/fix-nginx-request-size-limit
Fix 413 Request Entity Too Large error for large requests
2025-06-17 04:52:58 -04:00
Nirmal Arya
922f4d647f Fix 413 Request Entity Too Large error for large requests
- Increase nginx proxy-body-size and client-max-body-size to 500MB
- Add proxy timeouts for handling large file uploads and processing
- Supports large prompts, images, attachments, and GitHub project imports

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-17 04:48:20 -04:00
Nirmal Arya
f9659caf0a
Merge pull request #29 from bayer-int/feature/fix-production-authentication
Release https redirect.
2025-06-16 22:34:32 -04:00
Nirmal Arya
81466b833d Release https redirect. 2025-06-16 22:33:43 -04:00
Nirmal Arya
fa5305bc0c
Merge pull request #28 from bayer-int/feature/fix-production-authentication
fix:https routing and pr creation.
2025-06-16 22:08:29 -04:00
Nirmal Arya
96a9a05c79 fix:https routing and pr creation. 2025-06-16 22:07:14 -04:00
Nirmal Arya
4254d35d3b
Merge pull request #27 from bayer-int/feature/fix-production-authentication
Fix Authentication release.
2025-06-16 21:51:07 -04:00
Nirmal Arya
4ce1a51d8a Fix Authentication release. 2025-06-16 21:50:07 -04:00
Nirmal Arya
544199af79
Merge pull request #26 from bayer-int/feature/fix-production-authentication
Feature/fix production authentication
2025-06-16 21:22:00 -04:00
Nirmal Arya
2340edec94 github oauth fixes and deployment enhancements 2025-06-16 21:20:30 -04:00
Nirmal Arya
6b9c270a69 Merge branch 'feature/bayer-mga-provider' into dev 2025-06-16 15:56:49 -04:00
Nirmal Arya
ffd15746c5 fix Removed circular dependency by removing the import of LLMManager from BaseProvider 2025-06-16 15:55:59 -04:00
Nirmal Arya
9cea1d2034 lean readiness probe. 2025-06-12 00:04:59 -04:00
Nirmal Arya
582ddbb939 updated k8s deployment and ingress config. 2025-06-11 23:31:19 -04:00
Nirmal Arya
a04247f034 buildify dev image deployment. 2025-06-11 23:01:01 -04:00
Nirmal Arya
50b7362452 Release github oauth routing fix. 2025-06-11 09:01:57 -04:00
Nirmal Arya
45cec6cdc7 Fix GitHub OAuth authentication flow with proper callback handler 2025-06-11 08:42:58 -04:00
Nirmal Arya
61ab78a1e7 host allow list updated. 2025-06-10 22:49:02 -04:00
Nirmal Arya
bad6639821 host allow list updated. 2025-06-10 22:40:37 -04:00
Nirmal Arya
d2afa85dd5 Release switch to target dev. 2025-06-10 22:26:14 -04:00
Nirmal Arya
6e3c4d12d8 switch to target buildify development 2025-06-10 22:20:22 -04:00
Nirmal Arya
d0374007f8
Merge pull request #25 from bayer-int/feature/landing-page-enhancements
Feature/landing page enhancements
2025-06-10 17:31:01 -04:00
Nirmal Arya
8edb591ac8 remove provider secrets. 2025-06-10 17:29:49 -04:00
Nirmal Arya
551be01c86 nginx config snippet change to http to https 2025-06-10 17:28:01 -04:00
Nirmal Arya
97aee2e130
Merge pull request #24 from bayer-int/feature/landing-page-enhancements
favicon change and deploy new build image.
2025-06-10 17:20:56 -04:00
Nirmal Arya
c6f92733e9 favicon change and deploy new build image. 2025-06-10 17:20:19 -04:00
Nirmal Arya
d59a113188 feature:landing page for github login. 2025-06-10 16:50:30 -04:00
Nirmal Arya
a30fbbb228 remove basic auth, github auth is implemented. 2025-05-31 16:58:18 -04:00
Nirmal Arya
db9a2c9292 feat: implement enterprise secrets management with AWS Secrets Manager
- Add ExternalSecret for auth secrets (SESSION_SECRET, GitHub OAuth) via AWS Secrets Manager
- Separate user-configurable provider API keys into dedicated K8s Secret
- Update deployment to use three-layer configuration model:
  * ConfigMap: non-sensitive public settings
  * ExternalSecret → Secret: infrastructure auth secrets from AWS
  * Secret: user-configurable provider API keys managed via UI
- Add comprehensive documentation for AWS Secrets Manager setup
- Include K8s deployment architecture guide with troubleshooting commands
- Enable secure, auditable, and rotatable secrets management for production

This follows enterprise security best practices with proper separation of concerns between infrastructure and user secrets.
2025-05-31 16:21:18 -04:00
Nirmal Arya
b1af370120 feat: add SESSION_SECRET and GitHub OAuth config to Kubernetes manifests
- Add SESSION_SECRET to Secret template for secure cookie encryption
- Add GITHUB_CLIENT_ID and GITHUB_CLIENT_SECRET for OAuth authentication
- Update deployment to reference both ConfigMap and Secret via envFrom
- Ensure sensitive data stays in Secret (base64 encoded) not ConfigMap
- Add helpful comments for secret generation and security best practices

This enables secure session management and GitHub authentication in EKS deployment.
2025-05-31 16:14:27 -04:00
Nirmal Arya
c255d00973 fix: replace @remix-run/node imports with @remix-run/cloudflare for compatibility
- Update all auth-related routes to use @remix-run/cloudflare imports
- Fix GitHub OAuth server utilities to use Cloudflare-compatible session storage
- Resolve build failures caused by Node.js-specific modules in browser bundle
- Enable successful production builds for EKS deployment

This resolves the 'Cannot access xs before initialization' error by ensuring all imports are compatible with the Cloudflare Workers runtime environment.
2025-05-31 16:07:44 -04:00
Nirmal Arya
b983302406 fix: resolve Bayer MGA provider bundling issues
- Fix TypeScript compilation errors in debug API route that were causing JavaScript bundling failures
- Add proper type definitions for API responses and test results
- Fix type conversions and parameter typing throughout debug route
- Update auth controls with proper error state typing
- Resolve 'Cannot access xs before initialization' runtime error in production

This fixes the EKS deployment crash by eliminating TypeScript compilation issues that were causing JavaScript module loading problems.
2025-05-31 15:59:21 -04:00
Nirmal Arya
6a357e91a6 fix: resolve 'Cannot access xs before initialization' runtime error
- Separate auth controls into lazy-loaded component to prevent module loading issues
- Add comprehensive error handling and fallbacks throughout auth system
- Make profile store resilient to initialization errors with safe localStorage access
- Add try-catch blocks around critical functions to prevent runtime crashes
- Provide fallback navigation methods when auth hooks fail
- Fix EKS deployment crash caused by JavaScript bundling/hoisting issues

This fixes the Header-DpwHgB0l.js runtime error that was preventing the app from loading in production.
2025-05-31 15:47:45 -04:00
Nirmal Arya
1687d812bf feat: implement GitHub OIDC authentication
- Add GitHub OAuth 2.0 authentication flow
- Create authentication routes: /auth/login, /auth/callback, /auth/logout
- Implement OAuth server utilities with proper session management
- Add authentication hooks and client-side state management
- Update header with login/logout controls and user menu
- Create user profile page with GitHub integration
- Add environment variables for GitHub OAuth configuration
- Include comprehensive documentation for setup and usage
- Enhance profile store with authentication state
- Add authentication status API endpoint

Closes: GitHub authentication implementation
2025-05-31 15:40:32 -04:00
Nirmal Arya
e0eb402a85 new release to add the Bayer MGA provider. 2025-05-31 15:23:36 -04:00
Nirmal Arya
198e6c0ec1
Merge pull request #5 from bayer-int/feature/bayer-mga-provider
Feature/bayer mga provider
2025-05-31 14:37:32 -04:00
Nirmal Arya
9b46d0b892 fix: Add static models to resolve model lookup issue
- Added claude-3-7-sonnet and gpt-4o-mini as static models
- Fixes 500 'Model not found' error during inference
- Now properly returns 401 for invalid API key (expected behavior)
- Models now appear in /api/models response
- Inference pipeline working correctly

This resolves the core 500 error. Next step is configuring valid API key.
2025-05-31 14:25:15 -04:00
Nirmal Arya
d3ac437fb9 fix: Simplify BayerMGA provider to match OpenAI pattern
- Remove overly complex validateApiConfig method
- Follow exact same pattern as working OpenAI provider
- Simplify getModelInstance method to be more robust
- Fix 500 error in inference by removing strict validation
- Maintains dynamic model fetching functionality

This should resolve the inference execution issues while keeping model listing working.
2025-05-31 14:08:51 -04:00
Nirmal Arya
e5e24450c9 fix: Robust BayerMGA provider implementation with better error handling
Key improvements:
- Switch from getOpenAILikeModel to createOpenAI for better control
- Comprehensive error handling and validation
- Better base URL normalization and configuration
- Enhanced logging for debugging inference issues
- Proper header configuration for API requests
- Detailed error messages for troubleshooting

This should resolve the inference execution issues while maintaining model listing functionality.
2025-05-31 13:58:55 -04:00
Nirmal Arya
671fc51fa5 feat: Add comprehensive debugging tools for Bayer MGA integration
- Added debug guide with manual testing procedures
- Created debug API route for testing endpoints
- Includes models endpoint, chat completions, and AI SDK testing
- Provides detailed error logging and response analysis
- CORS support for browser testing
2025-05-31 13:53:09 -04:00
Nirmal Arya
2c9926fc9d fix: Add better error handling and logging to BayerMGA provider
- Added comprehensive logging for model fetching and instance creation
- Improved error handling with detailed error messages
- Added input validation for API responses
- Better debugging for inference endpoint issues
2025-05-31 13:50:44 -04:00
Nirmal Arya
14172c4de6 feat: Add Bayer MGA provider with dynamic model fetching
- Implemented BayerMGAProvider extending BaseProvider
- Configured base URL: https://chat.int.bayer.com/api/v2
- Added dynamic model fetching from /models endpoint with filters
- Integrated provider into UI (CloudProvidersTab, ServiceStatusTab)
- Added provider registration in LLM registry
- Supports user-configurable API token input
- Filters models by availability status
- Maps API response to ModelInfo format with proper token limits
2025-05-31 13:34:28 -04:00
Nirmal Arya
a4a398fe71 bolt diy to buildify. 2025-05-31 13:09:11 -04:00
KevIsDev
e40264ea5e
Merge pull request #1735 from xKevIsDev/main
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
Mark Stale Issues and Pull Requests / stale (push) Has been cancelled
feat: add discuss mode and quick actions
2025-05-30 14:48:42 +01:00
KevIsDev
f79bf06e38 refactor: modify markdown append message content structure to use array format
Change the message content from a plain string to an array of objects with type and text fields to support future extensibility of message formats
2025-05-30 14:45:05 +01:00
KevIsDev
0017d29154 fix: add model and provider info to quick action messages
Pass model and provider information through chat components to include in quick action messages. This fixes the issue of defaulting to anthropic model.
2025-05-28 12:32:00 +01:00
KevIsDev
05d7ef0ab5
Update README.md
Some checks failed
Docker Publish / docker-build-publish (push) Has been cancelled
Update Stable Branch / prepare-release (push) Has been cancelled
2025-05-27 12:30:58 +01:00