@@ -37,10 +37,11 @@ class ConstantsAutocompleteResponse(AbstractApiClass):
3737 fuzzySymbolMatchThreshold (int): The threshold for fuzzy symbol match.
3838 symbolsCacheUpdateInterval (int): The interval in ms to update the symbols cache.
3939 symbolsStorageUpdateInterval (int): The interval in ms to update the symbols storage.
40+ editPredictionSimilarityThreshold (int): The threshold for edit prediction similarity.
4041 embeddingConstants (codellmembeddingconstants): Embedding constants
4142 """
4243
43- def __init__ (self , 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 , minReindexingInterval = None , minRefreshSummaryInterval = None , summaryBatchSize = None , jobReorderInterval = None , stopRapidChanges = None , delaySummaryBatches = None , maxSymbolsFuzzyMatch = None , fuzzySymbolMatchThreshold = None , symbolsCacheUpdateInterval = None , symbolsStorageUpdateInterval = None , embeddingConstants = None ):
44+ def __init__ (self , 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 , minReindexingInterval = None , minRefreshSummaryInterval = None , summaryBatchSize = None , jobReorderInterval = None , stopRapidChanges = None , delaySummaryBatches = None , maxSymbolsFuzzyMatch = None , fuzzySymbolMatchThreshold = None , symbolsCacheUpdateInterval = None , symbolsStorageUpdateInterval = None , editPredictionSimilarityThreshold = None , embeddingConstants = None ):
4445 super ().__init__ (client , None )
4546 self .max_pending_requests = maxPendingRequests
4647 self .acceptance_delay = acceptanceDelay
@@ -72,12 +73,13 @@ def __init__(self, client, maxPendingRequests=None, acceptanceDelay=None, deboun
7273 self .fuzzy_symbol_match_threshold = fuzzySymbolMatchThreshold
7374 self .symbols_cache_update_interval = symbolsCacheUpdateInterval
7475 self .symbols_storage_update_interval = symbolsStorageUpdateInterval
76+ self .edit_prediction_similarity_threshold = editPredictionSimilarityThreshold
7577 self .embedding_constants = embeddingConstants
7678 self .deprecated_keys = {}
7779
7880 def __repr__ (self ):
79- repr_dict = {f'max_pending_requests' : repr (self .max_pending_requests ), f'acceptance_delay' : repr (self .acceptance_delay ), f'debounce_delay' : repr (self .debounce_delay ), f'record_user_action' : repr (self .record_user_action ), f'validate_suggestion' : repr (self .validate_suggestion ), f'validation_lines_threshold' : repr (self .validation_lines_threshold ), f'max_tracked_recent_changes' : repr (self .max_tracked_recent_changes ), f'diff_threshold' : repr (self .diff_threshold ), f'derivative_threshold' : repr (self .derivative_threshold ), f'default_surrounding_lines' : repr (self .default_surrounding_lines ), f'max_tracked_visit_changes' : repr (self .max_tracked_visit_changes ), f'selection_cooldown_ms' : repr (self .selection_cooldown_ms ), f'viewing_cooldown_ms' : repr (self .viewing_cooldown_ms ), f'max_lines' : repr (self .max_lines ), f'edit_cooldown_ms' : repr (self .edit_cooldown_ms ), f'scroll_debounce_ms' : repr (self .scroll_debounce_ms ), f'lsp_deadline' : repr (
80- self .lsp_deadline ), f' diagnostics_threshold' : repr ( self . diagnostics_threshold ), f'diagnostic_each_threshold' : repr (self .diagnostic_each_threshold ), f'num_vs_code_suggestions' : repr (self .num_vs_code_suggestions ), f'min_reindexing_interval' : repr (self .min_reindexing_interval ), f'min_refresh_summary_interval' : repr (self .min_refresh_summary_interval ), f'summary_batch_size' : repr (self .summary_batch_size ), f'job_reorder_interval' : repr (self .job_reorder_interval ), f'stop_rapid_changes' : repr (self .stop_rapid_changes ), f'delay_summary_batches' : repr (self .delay_summary_batches ), f'max_symbols_fuzzy_match' : repr (self .max_symbols_fuzzy_match ), f'fuzzy_symbol_match_threshold' : repr (self .fuzzy_symbol_match_threshold ), f'symbols_cache_update_interval' : repr (self .symbols_cache_update_interval ), f'symbols_storage_update_interval' : repr (self .symbols_storage_update_interval ), f'embedding_constants' : repr (self .embedding_constants )}
81+ repr_dict = {f'max_pending_requests' : repr (self .max_pending_requests ), f'acceptance_delay' : repr (self .acceptance_delay ), f'debounce_delay' : repr (self .debounce_delay ), f'record_user_action' : repr (self .record_user_action ), f'validate_suggestion' : repr (self .validate_suggestion ), f'validation_lines_threshold' : repr (self .validation_lines_threshold ), f'max_tracked_recent_changes' : repr (self .max_tracked_recent_changes ), f'diff_threshold' : repr (self .diff_threshold ), f'derivative_threshold' : repr (self .derivative_threshold ), f'default_surrounding_lines' : repr (self .default_surrounding_lines ), f'max_tracked_visit_changes' : repr (self .max_tracked_visit_changes ), f'selection_cooldown_ms' : repr (self .selection_cooldown_ms ), f'viewing_cooldown_ms' : repr (self .viewing_cooldown_ms ), f'max_lines' : repr (self .max_lines ), f'edit_cooldown_ms' : repr (self .edit_cooldown_ms ), f'scroll_debounce_ms' : repr (self .scroll_debounce_ms ), f'lsp_deadline' : repr (self . lsp_deadline ), f'diagnostics_threshold' : repr (
82+ self .diagnostics_threshold ), f'diagnostic_each_threshold' : repr (self .diagnostic_each_threshold ), f'num_vs_code_suggestions' : repr (self .num_vs_code_suggestions ), f'min_reindexing_interval' : repr (self .min_reindexing_interval ), f'min_refresh_summary_interval' : repr (self .min_refresh_summary_interval ), f'summary_batch_size' : repr (self .summary_batch_size ), f'job_reorder_interval' : repr (self .job_reorder_interval ), f'stop_rapid_changes' : repr (self .stop_rapid_changes ), f'delay_summary_batches' : repr (self .delay_summary_batches ), f'max_symbols_fuzzy_match' : repr (self .max_symbols_fuzzy_match ), f'fuzzy_symbol_match_threshold' : repr (self .fuzzy_symbol_match_threshold ), f'symbols_cache_update_interval' : repr (self .symbols_cache_update_interval ), f'symbols_storage_update_interval' : repr (self .symbols_storage_update_interval ), f'edit_prediction_similarity_threshold' : repr ( self . edit_prediction_similarity_threshold ), f'embedding_constants' : repr (self .embedding_constants )}
8183 class_name = "ConstantsAutocompleteResponse"
8284 repr_str = ',\n ' .join ([f'{ key } ={ value } ' for key , value in repr_dict .items (
8385 ) if getattr (self , key , None ) is not None and key not in self .deprecated_keys ])
@@ -90,6 +92,6 @@ def to_dict(self):
9092 Returns:
9193 dict: The dict value representation of the class parameters
9294 """
93- resp = {'max_pending_requests' : self .max_pending_requests , 'acceptance_delay' : self .acceptance_delay , 'debounce_delay' : self .debounce_delay , 'record_user_action' : self .record_user_action , 'validate_suggestion' : self .validate_suggestion , 'validation_lines_threshold' : self .validation_lines_threshold , 'max_tracked_recent_changes' : self .max_tracked_recent_changes , 'diff_threshold' : self .diff_threshold , 'derivative_threshold' : self .derivative_threshold , 'default_surrounding_lines' : self .default_surrounding_lines , 'max_tracked_visit_changes' : self .max_tracked_visit_changes , 'selection_cooldown_ms' : self .selection_cooldown_ms , 'viewing_cooldown_ms' : self .viewing_cooldown_ms , 'max_lines' : self .max_lines , 'edit_cooldown_ms' : self .edit_cooldown_ms , 'scroll_debounce_ms' : self .scroll_debounce_ms , 'lsp_deadline' : self .lsp_deadline ,
94- 'diagnostics_threshold' : self . diagnostics_threshold , ' diagnostic_each_threshold' : self .diagnostic_each_threshold , 'num_vs_code_suggestions' : self .num_vs_code_suggestions , 'min_reindexing_interval' : self .min_reindexing_interval , 'min_refresh_summary_interval' : self .min_refresh_summary_interval , 'summary_batch_size' : self .summary_batch_size , 'job_reorder_interval' : self .job_reorder_interval , 'stop_rapid_changes' : self .stop_rapid_changes , 'delay_summary_batches' : self .delay_summary_batches , 'max_symbols_fuzzy_match' : self .max_symbols_fuzzy_match , 'fuzzy_symbol_match_threshold' : self .fuzzy_symbol_match_threshold , 'symbols_cache_update_interval' : self .symbols_cache_update_interval , 'symbols_storage_update_interval' : self .symbols_storage_update_interval , 'embedding_constants' : self .embedding_constants }
95+ resp = {'max_pending_requests' : self .max_pending_requests , 'acceptance_delay' : self .acceptance_delay , 'debounce_delay' : self .debounce_delay , 'record_user_action' : self .record_user_action , 'validate_suggestion' : self .validate_suggestion , 'validation_lines_threshold' : self .validation_lines_threshold , 'max_tracked_recent_changes' : self .max_tracked_recent_changes , 'diff_threshold' : self .diff_threshold , 'derivative_threshold' : self .derivative_threshold , 'default_surrounding_lines' : self .default_surrounding_lines , 'max_tracked_visit_changes' : self .max_tracked_visit_changes , 'selection_cooldown_ms' : self .selection_cooldown_ms , 'viewing_cooldown_ms' : self .viewing_cooldown_ms , 'max_lines' : self .max_lines , 'edit_cooldown_ms' : self .edit_cooldown_ms , 'scroll_debounce_ms' : self .scroll_debounce_ms , 'lsp_deadline' : self .lsp_deadline , 'diagnostics_threshold' : self . diagnostics_threshold ,
96+ 'diagnostic_each_threshold' : self .diagnostic_each_threshold , 'num_vs_code_suggestions' : self .num_vs_code_suggestions , 'min_reindexing_interval' : self .min_reindexing_interval , 'min_refresh_summary_interval' : self .min_refresh_summary_interval , 'summary_batch_size' : self .summary_batch_size , 'job_reorder_interval' : self .job_reorder_interval , 'stop_rapid_changes' : self .stop_rapid_changes , 'delay_summary_batches' : self .delay_summary_batches , 'max_symbols_fuzzy_match' : self .max_symbols_fuzzy_match , 'fuzzy_symbol_match_threshold' : self .fuzzy_symbol_match_threshold , 'symbols_cache_update_interval' : self .symbols_cache_update_interval , 'symbols_storage_update_interval' : self .symbols_storage_update_interval , 'edit_prediction_similarity_threshold' : self . edit_prediction_similarity_threshold , 'embedding_constants' : self .embedding_constants }
9597 return {key : value for key , value in resp .items () if value is not None and key not in self .deprecated_keys }
0 commit comments