Uploaded image for project: 'AI'
  1. AI
  2. AI-18

Multiple timeout during IA generation

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.0
    • None
    • None
    • 4.10 RC1
    • Oui

      Currently using "gpt-image-2" the generation of AI image leads (almost all the time) to a timeout

      dev.langchain4j.exception.TimeoutException: request timed out
      	at dev.langchain4j.http.client.jdk.JdkHttpClient.execute(JdkHttpClient.java:59)
      	at dev.langchain4j.model.openai.internal.SyncRequestExecutor.execute(SyncRequestExecutor.java:20)
      	at dev.langchain4j.model.openai.internal.RequestExecutor.executeRaw(RequestExecutor.java:44)
      	at dev.langchain4j.model.openai.internal.RequestExecutor.execute(RequestExecutor.java:38)
      	at dev.langchain4j.model.openai.OpenAiImageModel.generate(OpenAiImageModel.java:78)
      	at org.ametys.plugins.ai.provider.impl.AbstractAIProvider.textToImage(AbstractAIProvider.java:395)
      	at org.ametys.plugins.ai.AIHelper.textToImage(AIHelper.java:386)
      

      It be will useful to choose the delay before timeout in a new configuration parameter

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Raphaël Franchet Raphaël Franchet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: