- 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 |
|---|---|---|
| .. | ||
| auth | Loading commit data... | |
| common | Loading commit data... | |
| dashboard | Loading commit data... | |
| layout | Loading commit data... | |
| model-deployments | Loading commit data... | |
| playground | Loading commit data... | |
| settings | Loading commit data... | |
| setup | Loading commit data... | |
| table | Loading commit data... | |
| topup | Loading commit data... |