Skip to content

Commit bb50b4a

Browse files
authored
Merge pull request #220 from AgentOps-AI/silent-update-check
update silently
2 parents f8ea4f5 + c48d440 commit bb50b4a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

agentstack/update.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ def check_for_updates(update_requested: bool = False):
116116
if not update_requested and not should_update():
117117
return
118118

119-
log.info("Checking for updates...\n")
120-
121119
try:
122120
latest_version: Version = get_latest_version(AGENTSTACK_PACKAGE)
123121
except Exception as e:
@@ -133,7 +131,5 @@ def check_for_updates(update_requested: bool = False):
133131
log.success(f"{AGENTSTACK_PACKAGE} updated. Re-run your command to use the latest version.")
134132
else:
135133
log.info("Skipping update. Run `agentstack update` to install the latest version.")
136-
else:
137-
log.info(f"{AGENTSTACK_PACKAGE} is up to date ({installed_version})")
138134

139135
record_update_check()

0 commit comments

Comments
 (0)