feat: atomic extract-and-connect + stale PR monitor + response audit #4
1 changed files with 2 additions and 2 deletions
|
|
@ -581,8 +581,8 @@ def format_context_for_prompt(ctx: KBContext) -> str:
|
|||
sections.append("## Matched Entities")
|
||||
for i, ent in enumerate(ctx.entities):
|
||||
sections.append(f"**{ent.name}** ({ent.entity_type}, {ent.domain})")
|
||||
# Top entity gets full content (up to 2000 chars), rest get truncated
|
||||
if i == 0:
|
||||
# Top 3 entities get full content, rest get truncated
|
||||
if i < 3:
|
||||
sections.append(ent.overview[:2000])
|
||||
else:
|
||||
sections.append(ent.overview[:500])
|
||||
|
|
|
|||
Loading…
Reference in a new issue