diff --git a/docker-compose.yml b/docker-compose.yml index 61d8a9a9..a3d290df 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -92,7 +92,7 @@ services: - ASPNETCORE_TranslationEngines__1=Nmt - ClearML__ApiServer=https://api.sil.hosted.allegro.ai - ClearML__Queue=production - - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:0.9.5.1 + - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:0.9.6.2 - "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}" - "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}" - SharedFile__Uri=s3://aqua-ml-data/docker-compose/ @@ -137,7 +137,7 @@ services: - ASPNETCORE_TranslationEngines__1=Nmt - ClearML__ApiServer=https://api.sil.hosted.allegro.ai - ClearML__Queue=production - - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:0.9.5.1 + - ClearML__DockerImage=ghcr.io/sillsdev/machine.py:0.9.6.2 - "ClearML__AccessKey=${ClearML_AccessKey:?access key needed}" - "ClearML__SecretKey=${ClearML_SecretKey:?secret key needed}" - SharedFile__Uri=s3://aqua-ml-data/docker-compose/ diff --git a/src/Serval.Client/Client.g.cs b/src/Serval.Client/Client.g.cs index 239a678c..fbe0c85e 100644 --- a/src/Serval.Client/Client.g.cs +++ b/src/Serval.Client/Client.g.cs @@ -1036,7 +1036,8 @@ public partial interface ITranslationEnginesClient ///
will timeout. ///
A use case is to actively query the state of the current build, where the subsequent ///
request sets the `minRevision` to the returned `revision` + 1 and timeouts are handled gracefully. - ///
Note: this method should use request throttling. + ///
This method should use request throttling. + ///
Note: Within the returned build, percentCompleted is a value between 0 and 1. /// /// The translation engine id /// The build job id @@ -3047,7 +3048,8 @@ public string BaseUrl ///
will timeout. ///
A use case is to actively query the state of the current build, where the subsequent ///
request sets the `minRevision` to the returned `revision` + 1 and timeouts are handled gracefully. - ///
Note: this method should use request throttling. + ///
This method should use request throttling. + ///
Note: Within the returned build, percentCompleted is a value between 0 and 1. /// /// The translation engine id /// The build job id diff --git a/src/Serval.Translation/Controllers/TranslationEnginesController.cs b/src/Serval.Translation/Controllers/TranslationEnginesController.cs index 689cfd58..e23e8128 100644 --- a/src/Serval.Translation/Controllers/TranslationEnginesController.cs +++ b/src/Serval.Translation/Controllers/TranslationEnginesController.cs @@ -704,7 +704,8 @@ CancellationToken cancellationToken /// will timeout. /// A use case is to actively query the state of the current build, where the subsequent /// request sets the `minRevision` to the returned `revision` + 1 and timeouts are handled gracefully. - /// Note: this method should use request throttling. + /// This method should use request throttling. + /// Note: Within the returned build, percentCompleted is a value between 0 and 1. /// /// The translation engine id /// The build job id diff --git a/tests/Serval.E2ETests/ServalClientHelper.cs b/tests/Serval.E2ETests/ServalClientHelper.cs index df1b209f..6a944910 100644 --- a/tests/Serval.E2ETests/ServalClientHelper.cs +++ b/tests/Serval.E2ETests/ServalClientHelper.cs @@ -29,11 +29,7 @@ public ServalClientHelper(string audience, string prefix = "SCE_", bool ignoreSS $"Bearer {GetAuth0Authentication(env["authUrl"], audience, env["clientId"], env["clientSecret"]).Result}" ); _prefix = prefix; - TranslationBuildConfig = new TranslationBuildConfig - { - Pretranslate = new List(), - Options = "{\"max_steps\":10}" - }; + TranslationBuildConfig = new TranslationBuildConfig { Pretranslate = new List() }; } public TranslationBuildConfig TranslationBuildConfig { get; set; }