Skip to content

Conversation

@vakovalskii
Copy link
Member


Фронтенд для SGR Agent Core

Что добавлено:

Frontend приложение:

  • Vue 3 + TypeScript + Vite
  • Real-time streaming интерфейс чата
  • Визуализация выполнения инструментов (reasoning, web search, extract content, final answer)
  • Поддержка выбора агентов (SGR Tool Calling, Auto Tools, SO Tools)
  • Обработка запросов на уточнение
  • Запись аудио сообщений
  • Feature-Sliced Design архитектура

Backend изменения:

  • CORS настройки вынесены в config.yaml
  • Исправлен эндпоинт продолжения диалога (теперь через /v1/chat/completions)
  • Добавлены модели конфигурации для CORS

Docker интеграция:

  • Единый docker-compose.yml для запуска backend + frontend
  • Настройка через .env файл
  • Healthcheck для корректного старта сервисов

Исправленные баги:

  • Streaming блоки теперь не теряются (reasoningtool показывается на всех шагах)
  • FinalAnswerTool отображается с красивым стилем
  • Дубликаты tool calls проверяются по ID, а не по имени

Как запустить:

cd services
docker-compose up -d --build

- Add sgr-deep-research-frontend with Vue 3 + TypeScript + Vite
- Integrate frontend into main docker-compose.yml
- Add CORS configuration to backend (config.yaml)
- Fix streaming tool blocks display (reasoningtool, finalanswertool)
- Fix chat continuation endpoint to use /v1/chat/completions
- Add beautiful styling for FinalAnswerTool
- Add Docker deployment documentation
- Frontend features:
  - Real-time streaming chat interface
  - Agent selection (SGR Tool Calling, Auto Tools, SO Tools)
  - Tool execution visualization
  - Clarification handling
  - Audio recording support
  - Feature-Sliced Design architecture
- Add exception in .gitignore for sgr-deep-research-frontend/src/shared/lib/
- Add lib/constants/agents.ts
- Add lib/utils/formatMessage.ts
- Add lib/utils/id.ts
- Add lib/index.ts

Fixes import errors for @/shared/lib
- Auto-format README files to pass pre-commit hooks
- Fix formatting in services/README.md
- Fix formatting in sgr-deep-research-frontend/README.md
- Fix formatting in tools/README.md
- Format Vue components with Prettier
- Format TypeScript files
- Format CSS/SCSS files
- Consistent code style across frontend
- Update agent state after tool_calls completion
- Fix clarification detection (waiting_for_clarification state)
- Support different LLM frameworks (vLLM, OpenAI) finish_reason handling
- Now correctly calls finishStreaming() on both 'stop' and 'tool_calls'
- Update agent state after tool_calls completion
- Support different LLM frameworks (vLLM, OpenAI) that send finish_reason differently
- Now finishStreaming triggers on both 'stop' and 'tool_calls'
- Fixes issue where clarification state wasn't detected
Copy link
Member

@virrius virrius left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
Не подгружается список агентов


image
Финальные ответы как будто бы не заполняются в красивую форму
эту зелёную плашку неплохо бы снабдить крестиком ибо может перекрывать часть инфы/кнопок


  • Предлагаю Voice выпилить, он требует подключения к внешнему сервису, для демки имхо лишнее.
  • Сделать Новый Диалог более неактивным. Белая кнопка выглядит нажимабельной при пустом диалоге
  • Не хватает скроллбара справа, неудобно скроллить чатик

@EvilFreelancer EvilFreelancer merged commit 621be47 into main Nov 13, 2025
1 check passed
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.

4 participants