Skip to content

Commit db1d490

Browse files
committed
misc: small fix or general refactoring i did not bother commenting
1 parent 22f9cea commit db1d490

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

examples/changelog/agent.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ agent: >
33
44
## Guidance
55
6+
- Do not use the get_new_commits tool since you already have the list of commits.
67
- Use the create_changelog tool to generate a changelog for the new commits.
78
- Focus on the new features and major fixes.
89
- Group and summarize other minor changes into "Miscellaneous" or "Other".

nerve/runtime/state.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,7 @@ def __str__(self) -> str:
373373

374374
def make_sync_wrapper(fn: t.Callable[..., t.Any]) -> t.Callable[..., t.Any]:
375375
def sync_wrapper(*args: t.Any, **kwargs: t.Any) -> t.Any:
376+
logger.debug(f"calling tool {fn.__name__} from template")
376377
coro = fn(*args, **kwargs)
377378
# NOTE: we use a list to store the result because nonlocal variables (like scalars) inside a nested
378379
# function do not allow assignment unless explicitly declared nonlocal. However, mutable objects like

0 commit comments

Comments
 (0)