Skip to content

Commit 1e89449

Browse files
committed
Improve description of 'symbol_info_budget'
1 parent a0d2ed9 commit 1e89449

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

src/serena/resources/project.template.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ default_modes:
111111
# (contrary to the memories, which are loaded on demand).
112112
initial_prompt: ""
113113

114-
# override of the corresponding setting in serena_config.yml, see the documentation there.
115-
# If null or missing, the value from the global config is used.
114+
# time budget (seconds) per tool call for the retrieval of additional symbol information
115+
# such as docstrings or parameter information.
116+
# This overrides the corresponding setting in the global configuration; see the documentation there.
117+
# If null or missing, use the setting from the global configuration.
116118
symbol_info_budget:

src/serena/resources/serena_config.template.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,11 @@ default_max_tool_answer_chars: 150000
108108
# estimate the token count using the Claude Sonnet 4 tokenizer.
109109
token_count_estimator: CHAR_COUNT
110110

111-
# time budget (seconds) for requests when tools request symbol info (currently
112-
# only supported for LSP-based tools).
113-
# If the budget is exceeded, Serena stops issuing further symbol-info-related
114-
# requests and returns partial info results.
111+
# time budget (seconds) per tool call for the retrieval of additional symbol information
112+
# such as docstrings or parameter information.
113+
# (currently only used by LSP-based tools).
114+
# If the budget is exceeded, Serena stops issuing further retrieval requests
115+
# and returns partial info results.
115116
# 0 disables the budget (no early stopping). Negative values are invalid.
116117
# This is an advanced setting that can help alleviate problems with LSP servers
117118
# that have a slow implementation of request_hover (clangd is one of those)

0 commit comments

Comments
 (0)