File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change 38
38
39
39
2 . Create a file named ` aiter_api_watcher_config.json ` using ` template_to_initialize_aiter_api_watcher_config.json ` .
40
40
41
- 3 . Run the following command: (replace the GITHUB_TOKEN with your GITHUB token)
41
+ 3 . Update ` "notification_repo": "EmbeddedLLM/aiter-api-watcher" ` to point to your repository
42
+
43
+ 4 . Run the following command: (replace the GITHUB_TOKEN with your GITHUB token)
42
44
```
43
45
docker run -it \
44
46
--network=host \
55
57
```
56
58
57
59
58
- 4 . The aiter_api_watcher.py will generates a log to ` aiter_api_watcher.log ` .
60
+ 5 . The aiter_api_watcher.py will generates a log to ` aiter_api_watcher.log ` .
59
61
60
62
Example content of the ` aiter_api_watcher.log ` :
61
63
Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ def load_config():
49
49
"last_checked_commit" : "" ,
50
50
"start_commit" : "" , # User can specify which commit to start with
51
51
"repository_url" : "https://github.com/ROCm/aiter.git" ,
52
+ "notification_repo" : "EmbeddedLLM/aiter-api-watcher" ,
52
53
"commit_list" : [],
53
54
"compare_pair" : []
54
55
}
@@ -601,6 +602,8 @@ def main_loop():
601
602
"""Main loop to periodically check for API changes"""
602
603
config = load_config ()
603
604
check_interval = config .get ("check_interval_seconds" , CHECK_INTERVAL )
605
+ global NOTIFICATION_REPO
606
+ NOTIFICATION_REPO = config .get ("notification_repo" , "EmbeddedLLM/aiter-api-watcher" )
604
607
605
608
logger .info ("Starting aiter API watcher" )
606
609
logger .info (f"Monitoring { len (config ['functions_to_monitor' ])} functions" )
Original file line number Diff line number Diff line change 57
57
"last_checked_commit" : " 28ceb1e2299c904229af0e45c38dde0efa7d14fb" ,
58
58
"start_commit" : " 365bd25a3f97673b291bc42f1459fbb51bf1c634" ,
59
59
"repository_url" : " https://github.com/ROCm/aiter.git" ,
60
+ "notification_repo" : " EmbeddedLLM/aiter-api-watcher" ,
60
61
"commit_list" : [],
61
62
"compare_pair" : []
62
63
}
You can’t perform that action at this time.
0 commit comments