@@ -28,14 +28,14 @@ def test_engines_get_llamacpp_should_be_successful(self):
2828
2929 # engines install
3030 def test_engines_install_llamacpp_specific_version_and_variant (self ):
31- data = {"version" : "v0.1.40-b4354 " , "variant" : "linux-amd64- avx" }
31+ data = {"version" : "b4920 " , "variant" : "linux-avx-x64 " }
3232 response = requests .post (
3333 "http://localhost:3928/v1/engines/llama-cpp/install" , json = data
3434 )
3535 assert response .status_code == 200
3636
3737 def test_engines_install_llamacpp_specific_version_and_null_variant (self ):
38- data = {"version" : "v0.1.40-b4354 " }
38+ data = {"version" : "b4920 " }
3939 response = requests .post (
4040 "http://localhost:3928/v1/engines/llama-cpp/install" , json = data
4141 )
@@ -55,14 +55,14 @@ async def test_engines_install_uninstall_llamacpp_should_be_successful(self):
5555 @pytest .mark .asyncio
5656 async def test_engines_install_uninstall_llamacpp_with_only_version_should_be_failed (self ):
5757 # install first
58- data = {"variant" : "mac-arm64 " }
58+ data = {"variant" : "linux-avx-x64 " }
5959 install_response = requests .post (
6060 "http://127.0.0.1:3928/v1/engines/llama-cpp/install" , json = data
6161 )
6262 await wait_for_websocket_download_success_event (timeout = 120 )
6363 assert install_response .status_code == 200
6464
65- data = {"version" : "v0.1.35 " }
65+ data = {"version" : "b4920 " }
6666 response = requests .delete (
6767 "http://localhost:3928/v1/engines/llama-cpp/install" , json = data
6868 )
@@ -72,7 +72,7 @@ async def test_engines_install_uninstall_llamacpp_with_only_version_should_be_fa
7272 @pytest .mark .asyncio
7373 async def test_engines_install_uninstall_llamacpp_with_variant_should_be_successful (self ):
7474 # install first
75- data = {"variant" : "mac-arm64 " }
75+ data = {"variant" : "linux-avx-x64 " }
7676 install_response = requests .post (
7777 "http://127.0.0.1:3928/v1/engines/llama-cpp/install" , json = data
7878 )
@@ -85,7 +85,7 @@ async def test_engines_install_uninstall_llamacpp_with_variant_should_be_success
8585 def test_engines_install_uninstall_llamacpp_with_specific_variant_and_version_should_be_successful (
8686 self ,
8787 ):
88- data = {"variant" : "mac-arm64 " , "version" : "v0.1.35 " }
88+ data = {"variant" : "linux-avx-x64 " , "version" : "b4920 " }
8989 # install first
9090 install_response = requests .post (
9191 "http://localhost:3928/v1/engines/llama-cpp/install" , json = data
0 commit comments