- Introduced `sanitizePlaygroundInputs` to normalize `max_tokens` input values. - Updated `loadConfig` to utilize the new sanitization function. - Replaced `Input` with `InputNumber` for `max_tokens` in `ParameterControl` for better user experience. - Modified API payload building logic to handle `max_tokens` more robustly. - Added tests for new helper functions in `playgroundMaxTokens.js` to ensure correct behavior.
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| ChatArea.jsx | Loading commit data... | |
| CodeViewer.jsx | Loading commit data... | |
| ConfigManager.jsx | Loading commit data... | |
| CustomInputRender.jsx | Loading commit data... | |
| CustomRequestEditor.jsx | Loading commit data... | |
| DebugPanel.jsx | Loading commit data... | |
| FloatingButtons.jsx | Loading commit data... | |
| ImageUrlInput.jsx | Loading commit data... | |
| MessageActions.jsx | Loading commit data... | |
| MessageContent.jsx | Loading commit data... | |
| OptimizedComponents.js | Loading commit data... | |
| ParameterControl.jsx | Loading commit data... | |
| SSEViewer.jsx | Loading commit data... | |
| SettingsPanel.jsx | Loading commit data... | |
| ThinkingContent.jsx | Loading commit data... | |
| configStorage.js | Loading commit data... |