abacusai.constants_autocomplete_response ======================================== .. py:module:: abacusai.constants_autocomplete_response Classes ------- .. autoapisummary:: abacusai.constants_autocomplete_response.ConstantsAutocompleteResponse Module Contents --------------- .. py:class:: ConstantsAutocompleteResponse(client, maxPendingRequests=None, acceptanceDelay=None, debounceDelay=None, recordUserAction=None, validateSuggestion=None, validationLinesThreshold=None, maxTrackedRecentChanges=None, diffThreshold=None, derivativeThreshold=None, defaultSurroundingLines=None, maxTrackedVisitChanges=None, selectionCooldownMs=None, viewingCooldownMs=None, maxLines=None, editCooldownMs=None, scrollDebounceMs=None, lspDeadline=None, diagnosticsThreshold=None, diagnosticEachThreshold=None, numVsCodeSuggestions=None) Bases: :py:obj:`abacusai.return_class.AbstractApiClass` A dictionary of constants to be used in the autocomplete. :param client: An authenticated API Client instance :type client: ApiClient :param maxPendingRequests: The maximum number of pending requests. :type maxPendingRequests: int :param acceptanceDelay: The acceptance delay. :type acceptanceDelay: int :param debounceDelay: The debounce delay. :type debounceDelay: int :param recordUserAction: Whether to record user action. :type recordUserAction: bool :param validateSuggestion: Whether to validate the suggestion. :type validateSuggestion: bool :param validationLinesThreshold: The number of lines to validate the suggestion. :type validationLinesThreshold: int :param maxTrackedRecentChanges: The maximum number of recent file changes to track. :type maxTrackedRecentChanges: int :param diffThreshold: The diff operations threshold. :type diffThreshold: int :param derivativeThreshold: The derivative threshold for deletions :type derivativeThreshold: int :param defaultSurroundingLines: The default number of surrounding lines to include in the recently visited context. :type defaultSurroundingLines: int :param maxTrackedVisitChanges: The maximum number of recently visited ranges to track. :type maxTrackedVisitChanges: int :param selectionCooldownMs: The cooldown time in milliseconds for selection changes. :type selectionCooldownMs: int :param viewingCooldownMs: The cooldown time in milliseconds for viewing changes. :type viewingCooldownMs: int :param maxLines: The maximum number of lines to include in recently visited context. :type maxLines: int :param editCooldownMs: The cooldown time in milliseconds after last edit. :type editCooldownMs: int :param scrollDebounceMs: The debounce time in milliseconds for scroll events. :type scrollDebounceMs: int :param lspDeadline: The deadline in milliseconds for LSP context. :type lspDeadline: int :param diagnosticsThreshold: The max number of diagnostics to show. :type diagnosticsThreshold: int :param diagnosticEachThreshold: The max number of characters to show for each diagnostic type. :type diagnosticEachThreshold: int :param numVsCodeSuggestions: The number of VS Code suggestions to show. :type numVsCodeSuggestions: int .. py:attribute:: max_pending_requests :value: None .. py:attribute:: acceptance_delay :value: None .. py:attribute:: debounce_delay :value: None .. py:attribute:: record_user_action :value: None .. py:attribute:: validate_suggestion :value: None .. py:attribute:: validation_lines_threshold :value: None .. py:attribute:: max_tracked_recent_changes :value: None .. py:attribute:: diff_threshold :value: None .. py:attribute:: derivative_threshold :value: None .. py:attribute:: default_surrounding_lines :value: None .. py:attribute:: max_tracked_visit_changes :value: None .. py:attribute:: selection_cooldown_ms :value: None .. py:attribute:: viewing_cooldown_ms :value: None .. py:attribute:: max_lines :value: None .. py:attribute:: edit_cooldown_ms :value: None .. py:attribute:: scroll_debounce_ms :value: None .. py:attribute:: lsp_deadline :value: None .. py:attribute:: diagnostics_threshold :value: None .. py:attribute:: diagnostic_each_threshold :value: None .. py:attribute:: num_vs_code_suggestions :value: None .. py:attribute:: deprecated_keys .. py:method:: __repr__() .. py:method:: to_dict() Get a dict representation of the parameters in this class :returns: The dict value representation of the class parameters :rtype: dict