forked from phoenix/litellm-mirror
(ci/cd) view load test results
This commit is contained in:
parent
493d24e4f7
commit
62c5852c52
1 changed files with 9 additions and 1 deletions
10
.github/workflows/interpret_load_test.py
vendored
10
.github/workflows/interpret_load_test.py
vendored
|
@ -57,8 +57,16 @@ if __name__ == "__main__":
|
||||||
print("got latest release: ", latest_release)
|
print("got latest release: ", latest_release)
|
||||||
print("latest release body: ", latest_release.body)
|
print("latest release body: ", latest_release.body)
|
||||||
print("markdown table: ", markdown_table)
|
print("markdown table: ", markdown_table)
|
||||||
|
|
||||||
|
# check if "Load Test LiteLLM Proxy Results" exists
|
||||||
|
existing_release_body = latest_release.body
|
||||||
|
if "Load Test LiteLLM Proxy Results" in latest_release.body:
|
||||||
|
# find the "Load Test LiteLLM Proxy Results" section and delete it
|
||||||
|
start_index = latest_release.body.find("Load Test LiteLLM Proxy Results")
|
||||||
|
existing_release_body = latest_release.body[:start_index]
|
||||||
|
|
||||||
new_release_body = (
|
new_release_body = (
|
||||||
latest_release.body
|
existing_release_body
|
||||||
+ "\n\n"
|
+ "\n\n"
|
||||||
+ "## Load Test LiteLLM Proxy Results"
|
+ "## Load Test LiteLLM Proxy Results"
|
||||||
+ "\n\n"
|
+ "\n\n"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue