mirror of
https://github.com/abhinavxd/libredesk.git
synced 2026-10-13 16:41:58 +00:00
976c45df3e
Reasoning models like gpt-5 reject max_tokens and non-default temperature. The client now reads the structured 400, renames max_tokens to max_completion_tokens or drops the bad tuning param, and retries. This removes the old rule that only sent max_completion_tokens when reasoning effort was set. Provider form gets a "Test connection" button that makes one live call with the form values and shows the provider's real error. Embedding test also checks the returned vector length against the Dimensions field. Add an Anthropic preset (their OpenAI-compatible endpoint) and stop pre-filling temperature since blank is safe on every model. Fix the shared Button loader so the spinner is visible on non-filled variants, and polish the copilot panel: bot avatars on messages, dot loader while thinking, cleaner input box, and tab slide-in animation.
Libredesk frontend
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Compile and Minify for Production
npm run build
Run Headed Component Tests with Cypress Component Testing
npm run test:unit:dev # or `npm run test:unit` for headless testing
Run End-to-End Tests with Cypress
npm run test:e2e:dev
This runs the end-to-end tests against the Vite development server. It is much faster than the production build.
But it's still recommended to test the production build with test:e2e before deploying (e.g. in CI environments):
npm run build
npm run test:e2e
Lint with ESLint
npm run lint