Skip to content

Image capability#7

Open
kostapetan wants to merge 10 commits intomainfrom
image-capability
Open

Image capability#7
kostapetan wants to merge 10 commits intomainfrom
image-capability

Conversation

@kostapetan
Copy link
Copy Markdown
Contributor

No description provided.

kostapetan and others added 10 commits December 8, 2025 15:00
…rendering, error handling (#5)

* Initial plan

* Add health checks, input validation, markdown rendering, and UI components

- Backend: Added health check endpoint at /health
- Frontend: Added markdown rendering with syntax highlighting (react-markdown, remark-gfm, rehype-highlight)
- Frontend: Added ChatInput component with character limit (4000 chars) and rate limiting (10 msgs/min, 2s between msgs)
- Frontend: Added TypingIndicator component for AI response feedback
- Frontend: Added ErrorDisplay component with retry functionality
- Frontend: Added CustomMessageRenderer for markdown and code highlighting support

Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>

* Add error handling middleware, retry policies, and timeouts

- Backend: Added ErrorHandlingMiddleware for consistent error responses
- Backend: Added Polly and Microsoft.Extensions.Http.Polly packages
- Backend: Added request timeout configuration (120 seconds)
- Backend: Enhanced health checks with readiness check
- Backend: Added user-friendly error messages for common exceptions

Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>

* Update documentation and landing page with new features

- Updated ai-chat-interface.md with implementation details for all new features
- Updated landing page feature descriptions to reflect new capabilities
- Created comprehensive README.md for components directory
- Documented markdown rendering, input validation, and error handling features
- Added usage examples and best practices for all components

Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>

* Address code review feedback and finalize implementation

- Fixed TypeScript typing issues in CustomMessageRenderer (removed 'any' types)
- Removed alert() usage in ChatInput (inline validation only)
- Made timeout configurable via appsettings.json (RequestTimeoutSeconds)
- Defined magic number as named constant (MAX_LENGTH_BUFFER)
- Corrected package versions in components README
- All builds pass successfully with no errors or warnings

Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>

* Add comprehensive implementation summary document

- Created IMPLEMENTATION_SUMMARY.md with complete project overview
- Documented all components, features, and changes
- Included deployment instructions and rollback plan
- Added testing recommendations and success criteria
- Provided configuration requirements and impact assessment
- Ready for final review and deployment

Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>

* Implement human-in-the-loop approval for copyright and design, enhance workflow with new executors, and update application configuration for image model deployment.

* Refactor human-in-the-loop approval for text and image content, updating state management and UI elements for clarity and consistency.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: kostapetan <10728102+kostapetan@users.noreply.github.com>
Co-authored-by: Kosta Petan <kostapetan@gmail.com>
- Bump @ag-ui/client from 0.0.41 to 0.0.42
- Upgrade @copilotkit/react-core, @copilotkit/react-ui, and @copilotkit/runtime to version 1.50.0
- Update next from 16.0.3 to 16.0.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants