()
| 339 | if (field instanceof HTMLInputElement) { field.focus({ preventScroll: true }); field.select(); field.scrollIntoView?.({ block: 'nearest' }); } |
| 340 | }, [settingsOpen]); |
| 341 | const openOutputLimit = (): void => { focusOutputLimit.current = true; setSettingsOpen(true); }; |
| 342 | const limitNote = (shortened: boolean | undefined, limit: TokenLimits | undefined, automatic?: boolean): LimitNote | undefined => shortened |
| 343 | ? { limit: limit ?? (automatic ? { inputTokens: autoInput, outputTokens: autoOutput } : limits), automatic, chat: limits, model, onChangeOutput: openOutputLimit } : undefined; |
| 344 | useEffect(() => { |
nothing calls this directly
no outgoing calls
no test coverage detected