Skip to content

Commit feda335

Browse files
rodion-mclaude
andcommitted
Fix explore.py: remove invalid include_content parameter from search calls
client.search() does not accept include_content — it was causing TypeError on every explore.py invocation. Removed from all 5 search calls across understand, dependency, pattern, implement, and debug modes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 93f21d5 commit feda335

1 file changed

Lines changed: 5 additions & 10 deletions

File tree

skills/codealive-context-engine/scripts/explore.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,7 @@ def explore_understand(client: CodeAliveClient, query: str, data_sources: List[s
7777
search_results = client.search(
7878
query=query,
7979
data_sources=data_sources,
80-
mode="auto",
81-
include_content=False
80+
mode="auto"
8281
)
8382

8483
# Show top results
@@ -125,8 +124,7 @@ def explore_dependency(client: CodeAliveClient, query: str, data_sources: List[s
125124
search_results = client.search(
126125
query=usage_query,
127126
data_sources=data_sources,
128-
mode="auto",
129-
include_content=True
127+
mode="auto"
130128
)
131129

132130
# Ask consultant about internals and best practices
@@ -165,8 +163,7 @@ def explore_pattern(client: CodeAliveClient, query: str, data_sources: List[str]
165163
search_results = client.search(
166164
query=f"Show me different implementations of {query}",
167165
data_sources=data_sources,
168-
mode="deep",
169-
include_content=True
166+
mode="deep"
170167
)
171168

172169
# Ask consultant to analyze and compare
@@ -205,8 +202,7 @@ def explore_implement(client: CodeAliveClient, query: str, data_sources: List[st
205202
search_results = client.search(
206203
query=f"Similar features to {query}, existing implementations",
207204
data_sources=data_sources,
208-
mode="auto",
209-
include_content=False
205+
mode="auto"
210206
)
211207

212208
# Ask consultant for implementation guidance
@@ -246,8 +242,7 @@ def explore_debug(client: CodeAliveClient, query: str, data_sources: List[str])
246242
search_results = client.search(
247243
query=f"Code related to {query}",
248244
data_sources=data_sources,
249-
mode="auto",
250-
include_content=True
245+
mode="auto"
251246
)
252247

253248
# Ask consultant to analyze

0 commit comments

Comments
 (0)