ChaineLlmClientTest
|
100%
successful |
Tests
| Test | Duration | Result |
|---|---|---|
| le code 5xx est aussi reconnu dans la cause() | 0.001s | passed |
| le premier qui répond arrête la chaîne() | 0.005s | passed |
| modèle vide = identifiant demandé par l'appelant conservé() | 0.003s | passed |
| nouvelle tentative bornée — deux 503 de suite, on passe au suivant() | 0.027s | passed |
| passe au fournisseur suivant quand le premier échoue, avec SON modèle() | 0.007s | passed |
| tous en échec = l'erreur remonte (abstention), rien n'est fabriqué() | 0.010s | passed |
| un 429 (quota) n'est pas retenté — fournisseur suivant aussitôt() | 0.004s | passed |
| un 503 passager est retenté sur le MÊME fournisseur avant de passer au suivant() | 0.004s | passed |
Standard output
01:32:06.040 [Test worker @coroutine#4] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via mistral (m) en échec (tentative 1/2) — IllegalStateException: Error from client: OpenAILLMClient Status code: 503 Error body: Service unavailable. Nouvelle tentative dans 0s. 01:32:06.041 [Test worker @coroutine#4] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via mistral (m) en échec (tentative 2/2) — IllegalStateException: Error from client: OpenAILLMClient Status code: 503 Error body: Service unavailable. Fournisseur suivant. 01:32:06.043 [Test worker @coroutine#4] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=secours modele=s tentative=1 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune 01:32:06.057 [Test worker @coroutine#5] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via a (m1) en échec (tentative 1/2) — IllegalStateException: 429 insufficient_quota. Fournisseur suivant. 01:32:06.058 [Test worker @coroutine#5] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via b (m2) en échec (tentative 1/2) — IllegalStateException: 429 insufficient_quota. Fournisseur suivant. 01:32:06.066 [Test worker @coroutine#6] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=openai modele=gpt-4o-mini tentative=1 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune 01:32:06.072 [Test worker @coroutine#7] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via groq (openai/gpt-oss-120b) en échec (tentative 1/2) — IllegalStateException: 429 insufficient_quota. Fournisseur suivant. 01:32:06.073 [Test worker @coroutine#7] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=mistral modele=mistral-small-latest tentative=1 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune 01:32:06.078 [Test worker @coroutine#8] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=a modele=m1 tentative=1 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune 01:32:06.081 [Test worker @coroutine#9] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via mistral (m) en échec (tentative 1/2) — IllegalStateException: Error from client: OpenAILLMClient Status code: 503 Error body: Service unavailable. Nouvelle tentative dans 0s. 01:32:06.083 [Test worker @coroutine#9] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=mistral modele=m tentative=2 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune 01:32:06.088 [Test worker @coroutine#10] WARN com.alertimmo.aiscraping.config.ChaineLlmClient -- LLM execute via openai (o) en échec (tentative 1/2) — IllegalStateException: Error from client: OpenAILLMClient Status code: 429 Error body: insufficient_quota. Fournisseur suivant. 01:32:06.089 [Test worker @coroutine#10] INFO com.alertimmo.aiscraping.config.ChaineLlmClient -- llm_appel operation=t methode=execute fournisseur=mistral modele=m tentative=1 duree_ms=0 tokens_entree=inconnu tokens_sortie=inconnu cout_usd=inconnu empreinte_prompt=aucune