Skip to content

Commit e655f55

Browse files
committed
macroscope feedback <3
1 parent 7a36232 commit e655f55

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

llms/generate_llms_full.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,13 @@ def generate_llms_txt(base_directory, subdirectories, output_file, title, descri
7575
# Get the path relative to the base directory
7676
rel_path = os.path.relpath(file_path, base_directory)
7777
content = extract_content_from_md(file_path)
78-
78+
if isinstance(content, str) and content.startswith("Error:"):
79+
print(f"Warning: Skipping {rel_path}: {content}")
80+
continue
7981
# Write the relative path as the header
8082
llms_file.write(f"## {rel_path}\n")
8183
llms_file.write(content)
8284
llms_file.write("\n\n")
83-
8485
processed_files.append(rel_path)
8586

8687
# Add a summary at the end

llms/llms-agents.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# XMTP Documentation for Building Agents
22

3-
Generated at 01:24 AM UTC / November 13, 2025
3+
Generated at 01:35 AM UTC / November 13, 2025
44

55
## About this file
66

llms/llms-chat-apps.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# XMTP Documentation for Building Chat Applications
22

3-
Generated at 01:24 AM UTC / November 13, 2025
3+
Generated at 01:35 AM UTC / November 13, 2025
44

55
## About this file
66

llms/llms-full.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# XMTP Full Documentation
22

3-
Generated at 01:24 AM UTC / November 13, 2025
3+
Generated at 01:35 AM UTC / November 13, 2025
44

55
## About this file
66

0 commit comments

Comments
 (0)