feat(sessions): implement Agent 1 (Objectif) of the coach pipeline
Add the sessions module (create/fetch session, Agent 1 conversation and confirmation endpoints, all JWT-protected) and a reusable OpenRouter client with DeepSeek/Qwen fallback + backoff on rate-limit/timeout. Agent 1 runs a Socratic dialogue to capture the 3 mandatory pillars (subject, professional goal, duration) and enforces two guardrail levels before any explicit user confirmation: level 1 is hard-coded length/format rules (objective-guardrails.ts), level 2 is an LLM coherence score across 3 dimensions (reject below 0.6). The objective is only persisted to session_objective, and the session only moves to objective_validated, once the user explicitly confirms via POST /sessions/:id/objective/confirm - never on the LLM's say-so alone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 5
parent
b321dff3bd
commit
bae5ace70c
@@ -0,0 +1,61 @@
|
||||
import {
|
||||
checkLevel1Guardrails,
|
||||
parseDurationHours,
|
||||
} from './objective-guardrails';
|
||||
|
||||
describe('parseDurationHours()', () => {
|
||||
it('should parse hours, days, weeks and months into hours', () => {
|
||||
expect(parseDurationHours('10 heures')).toBe(10);
|
||||
expect(parseDurationHours('2 jours')).toBe(48);
|
||||
expect(parseDurationHours('2 semaines')).toBe(336);
|
||||
expect(parseDurationHours('1 mois')).toBe(720);
|
||||
});
|
||||
|
||||
it('should accept a decimal amount', () => {
|
||||
expect(parseDurationHours('1,5 jours')).toBe(36);
|
||||
});
|
||||
|
||||
it('should return null for an unrecognized format', () => {
|
||||
expect(parseDurationHours('bientot')).toBeNull();
|
||||
expect(parseDurationHours('')).toBeNull();
|
||||
});
|
||||
});
|
||||
|
||||
describe('checkLevel1Guardrails()', () => {
|
||||
const validDraft = {
|
||||
subject: 'Facturation freelance en micro-entreprise',
|
||||
professionalGoal:
|
||||
'Pouvoir facturer mes clients sans erreur des le mois prochain',
|
||||
duration: '2 semaines',
|
||||
};
|
||||
|
||||
it('should return no failure for a valid draft', () => {
|
||||
expect(checkLevel1Guardrails(validDraft)).toEqual([]);
|
||||
});
|
||||
|
||||
it('should reject a subject that is too short or a single generic word', () => {
|
||||
const failures = checkLevel1Guardrails({ ...validDraft, subject: 'Excel' });
|
||||
expect(failures.map((f) => f.field)).toContain('subject');
|
||||
});
|
||||
|
||||
it('should reject a professional goal that is too short', () => {
|
||||
const failures = checkLevel1Guardrails({
|
||||
...validDraft,
|
||||
professionalGoal: 'Progresser',
|
||||
});
|
||||
expect(failures.map((f) => f.field)).toContain('professionalGoal');
|
||||
});
|
||||
|
||||
it('should reject a duration outside 1h-12 weeks or unparseable', () => {
|
||||
expect(
|
||||
checkLevel1Guardrails({ ...validDraft, duration: 'un bon moment' }).map(
|
||||
(f) => f.field,
|
||||
),
|
||||
).toContain('duration');
|
||||
expect(
|
||||
checkLevel1Guardrails({ ...validDraft, duration: '24 mois' }).map(
|
||||
(f) => f.field,
|
||||
),
|
||||
).toContain('duration');
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,88 @@
|
||||
export interface ObjectiveDraft {
|
||||
subject: string;
|
||||
professionalGoal: string;
|
||||
duration: string;
|
||||
}
|
||||
|
||||
export interface GuardrailFailure {
|
||||
field: 'subject' | 'professionalGoal' | 'duration';
|
||||
reason: string;
|
||||
}
|
||||
|
||||
const MIN_SUBJECT_LENGTH = 10;
|
||||
const MIN_GOAL_LENGTH = 20;
|
||||
const MIN_DURATION_HOURS = 1;
|
||||
const MAX_DURATION_HOURS = 12 * 7 * 24;
|
||||
|
||||
const DURATION_UNIT_HOURS = new Map<string, number>([
|
||||
['heure', 1],
|
||||
['heures', 1],
|
||||
['h', 1],
|
||||
['jour', 24],
|
||||
['jours', 24],
|
||||
['j', 24],
|
||||
['semaine', 7 * 24],
|
||||
['semaines', 7 * 24],
|
||||
['mois', 30 * 24],
|
||||
]);
|
||||
|
||||
/**
|
||||
* Parse une duree en langage libre ("2 semaines", "10h", "1 mois") en heures. Retourne null si
|
||||
* le format n'est pas reconnu, pour que l'appelant puisse redemander une reformulation plutot
|
||||
* que de faire confiance a un texte non structure.
|
||||
*/
|
||||
export function parseDurationHours(duration: string): number | null {
|
||||
const normalized = duration.trim().toLowerCase();
|
||||
const separatorIndex = normalized.search(/[a-zéû]/);
|
||||
if (separatorIndex <= 0) return null;
|
||||
|
||||
const amount = Number.parseFloat(
|
||||
normalized.slice(0, separatorIndex).trim().replace(',', '.'),
|
||||
);
|
||||
const unit = normalized.slice(separatorIndex).trim();
|
||||
const hoursPerUnit = DURATION_UNIT_HOURS.get(unit);
|
||||
if (hoursPerUnit === undefined || Number.isNaN(amount)) return null;
|
||||
return amount * hoursPerUnit;
|
||||
}
|
||||
|
||||
/**
|
||||
* Garde-fous de niveau 1 (regles codees, voir CLAUDE.md section 2 / docs/Max Refonte Coach
|
||||
* Freelance.md) : longueur/format uniquement, aucun appel LLM. Renvoie la liste des champs en
|
||||
* echec, vide si l'objectif est recevable.
|
||||
*/
|
||||
export function checkLevel1Guardrails(
|
||||
draft: ObjectiveDraft,
|
||||
): GuardrailFailure[] {
|
||||
const failures: GuardrailFailure[] = [];
|
||||
|
||||
const subject = draft.subject.trim();
|
||||
if (subject.length < MIN_SUBJECT_LENGTH || !subject.includes(' ')) {
|
||||
failures.push({
|
||||
field: 'subject',
|
||||
reason: `Le sujet doit faire au moins ${MIN_SUBJECT_LENGTH} caracteres et ne pas etre un terme generique isole.`,
|
||||
});
|
||||
}
|
||||
|
||||
const professionalGoal = draft.professionalGoal.trim();
|
||||
if (professionalGoal.length < MIN_GOAL_LENGTH) {
|
||||
failures.push({
|
||||
field: 'professionalGoal',
|
||||
reason: `Le but professionnel doit faire au moins ${MIN_GOAL_LENGTH} caracteres.`,
|
||||
});
|
||||
}
|
||||
|
||||
const durationHours = parseDurationHours(draft.duration);
|
||||
if (
|
||||
durationHours === null ||
|
||||
durationHours < MIN_DURATION_HOURS ||
|
||||
durationHours > MAX_DURATION_HOURS
|
||||
) {
|
||||
failures.push({
|
||||
field: 'duration',
|
||||
reason:
|
||||
'La duree doit etre comprise entre 1 heure et 12 semaines (ex: "2 semaines", "10 heures").',
|
||||
});
|
||||
}
|
||||
|
||||
return failures;
|
||||
}
|
||||
@@ -0,0 +1,173 @@
|
||||
import { ConflictException } from '@nestjs/common';
|
||||
import { Test, TestingModule } from '@nestjs/testing';
|
||||
import { PrismaService } from '../../prisma/prisma.service';
|
||||
import { OpenRouterService } from '../../llm/openrouter.service';
|
||||
import { ObjectiveAgent } from './objective.agent';
|
||||
|
||||
describe('ObjectiveAgent', () => {
|
||||
let agent: ObjectiveAgent;
|
||||
const chat = jest.fn();
|
||||
const createSessionObjective = jest.fn<
|
||||
Promise<unknown>,
|
||||
[{ data: Record<string, unknown> }]
|
||||
>();
|
||||
const prisma = {
|
||||
sessionObjective: { create: createSessionObjective },
|
||||
session: { update: jest.fn() },
|
||||
};
|
||||
|
||||
const validDraft = {
|
||||
subject: 'Facturation freelance en micro-entreprise',
|
||||
professionalGoal:
|
||||
'Pouvoir facturer mes clients sans erreur des le mois prochain',
|
||||
duration: '2 semaines',
|
||||
};
|
||||
|
||||
beforeEach(async () => {
|
||||
jest.clearAllMocks();
|
||||
const module: TestingModule = await Test.createTestingModule({
|
||||
providers: [
|
||||
ObjectiveAgent,
|
||||
{ provide: PrismaService, useValue: prisma },
|
||||
{ provide: OpenRouterService, useValue: { chat } },
|
||||
],
|
||||
}).compile();
|
||||
|
||||
agent = module.get(ObjectiveAgent);
|
||||
});
|
||||
|
||||
describe('converse()', () => {
|
||||
it('should return the raw reply unready when the model answers with non-JSON text', async () => {
|
||||
chat.mockResolvedValueOnce('Je ne comprends pas');
|
||||
|
||||
const result = await agent.converse(1, 7, 'bonjour');
|
||||
|
||||
expect(result).toEqual({ reply: 'Je ne comprends pas', ready: false });
|
||||
});
|
||||
|
||||
it('should keep asking when the model is not ready to confirm', async () => {
|
||||
chat.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
message: 'Quel est ton sujet ?',
|
||||
readyToConfirm: false,
|
||||
}),
|
||||
);
|
||||
|
||||
const result = await agent.converse(1, 7, 'Je veux apprendre un truc');
|
||||
|
||||
expect(result).toEqual({ reply: 'Quel est ton sujet ?', ready: false });
|
||||
});
|
||||
|
||||
it('should reject a ready draft that fails level 1 guardrails without calling the coherence scorer', async () => {
|
||||
chat.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
message: 'Recap',
|
||||
readyToConfirm: true,
|
||||
subject: 'Excel',
|
||||
professionalGoal: validDraft.professionalGoal,
|
||||
duration: validDraft.duration,
|
||||
}),
|
||||
);
|
||||
|
||||
const result = await agent.converse(1, 7, 'Excel');
|
||||
|
||||
expect(result.ready).toBe(false);
|
||||
expect(result.reply).toMatch(/sujet/);
|
||||
expect(chat).toHaveBeenCalledTimes(1);
|
||||
});
|
||||
|
||||
it('should reject a draft that fails the level 2 coherence score', async () => {
|
||||
chat
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
message: 'Recap',
|
||||
readyToConfirm: true,
|
||||
...validDraft,
|
||||
}),
|
||||
)
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
clarity: 0.9,
|
||||
specificity: 0.3,
|
||||
feasibility: 0.9,
|
||||
followUpQuestion: 'Peux-tu preciser le sujet ?',
|
||||
}),
|
||||
);
|
||||
|
||||
const result = await agent.converse(1, 7, 'message');
|
||||
|
||||
expect(result).toEqual({
|
||||
reply: 'Peux-tu preciser le sujet ?',
|
||||
ready: false,
|
||||
});
|
||||
});
|
||||
|
||||
it('should return ready with the draft when both guardrail levels pass', async () => {
|
||||
chat
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
message: 'Voici le recap, confirmes-tu ?',
|
||||
readyToConfirm: true,
|
||||
...validDraft,
|
||||
}),
|
||||
)
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({ clarity: 0.9, specificity: 0.9, feasibility: 0.9 }),
|
||||
);
|
||||
|
||||
const result = await agent.converse(1, 7, 'message');
|
||||
|
||||
expect(result).toEqual({
|
||||
reply: 'Voici le recap, confirmes-tu ?',
|
||||
ready: true,
|
||||
draft: validDraft,
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
describe('confirm()', () => {
|
||||
it('should throw ConflictException when no draft is ready for this session', async () => {
|
||||
await expect(agent.confirm(1, 7)).rejects.toThrow(ConflictException);
|
||||
});
|
||||
|
||||
it('should persist the objective and move the session to objective_validated once ready', async () => {
|
||||
chat
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({
|
||||
message: 'Recap',
|
||||
readyToConfirm: true,
|
||||
...validDraft,
|
||||
}),
|
||||
)
|
||||
.mockResolvedValueOnce(
|
||||
JSON.stringify({ clarity: 0.9, specificity: 0.9, feasibility: 0.9 }),
|
||||
);
|
||||
await agent.converse(1, 7, 'message');
|
||||
|
||||
chat.mockResolvedValueOnce(
|
||||
JSON.stringify({ clarity: 0.9, specificity: 0.9, feasibility: 0.9 }),
|
||||
);
|
||||
prisma.sessionObjective.create.mockResolvedValueOnce({
|
||||
id: 1,
|
||||
sessionId: 1,
|
||||
...validDraft,
|
||||
validatedAt: new Date('2026-01-01'),
|
||||
});
|
||||
|
||||
const result = await agent.confirm(1, 7);
|
||||
|
||||
const createCallArgs = prisma.sessionObjective.create.mock.calls[0][0];
|
||||
expect(createCallArgs.data).toMatchObject({
|
||||
sessionId: 1,
|
||||
...validDraft,
|
||||
});
|
||||
expect(prisma.session.update).toHaveBeenCalledWith({
|
||||
where: { id: 1 },
|
||||
data: { status: 'objective_validated' },
|
||||
});
|
||||
expect(result.id).toBe(1);
|
||||
|
||||
await expect(agent.confirm(1, 7)).rejects.toThrow(ConflictException);
|
||||
});
|
||||
});
|
||||
});
|
||||
@@ -0,0 +1,239 @@
|
||||
import { ConflictException, Injectable, Logger } from '@nestjs/common';
|
||||
import { PrismaService } from '../../prisma/prisma.service';
|
||||
import { ChatMessage, OpenRouterService } from '../../llm/openrouter.service';
|
||||
import {
|
||||
checkLevel1Guardrails,
|
||||
GuardrailFailure,
|
||||
ObjectiveDraft,
|
||||
} from './objective-guardrails';
|
||||
|
||||
export interface ObjectiveTurnResult {
|
||||
reply: string;
|
||||
ready: boolean;
|
||||
draft?: ObjectiveDraft;
|
||||
}
|
||||
|
||||
export interface ValidatedSessionObjective {
|
||||
id: number;
|
||||
sessionId: number;
|
||||
subject: string;
|
||||
professionalGoal: string;
|
||||
duration: string;
|
||||
validatedAt: Date | null;
|
||||
}
|
||||
|
||||
interface AgentJsonReply {
|
||||
message: string;
|
||||
subject?: string | null;
|
||||
professionalGoal?: string | null;
|
||||
duration?: string | null;
|
||||
readyToConfirm?: boolean;
|
||||
}
|
||||
|
||||
interface CoherenceScore {
|
||||
clarity: number;
|
||||
specificity: number;
|
||||
feasibility: number;
|
||||
followUpQuestion?: string;
|
||||
}
|
||||
|
||||
const COHERENCE_THRESHOLD = 0.6;
|
||||
|
||||
const SYSTEM_PROMPT = `Tu es Max, un coach de formation pour freelances. Ton seul objectif dans cet
|
||||
echange est de reveler et faire formuler par l'utilisateur, par un dialogue socratique (des
|
||||
questions, jamais un formulaire), un objectif de formation precis compose de 3 piliers
|
||||
obligatoires :
|
||||
1. subject : le sujet concret a apprendre (jamais un terme generique isole comme "Excel" ou
|
||||
"marketing" : il doit designer une competence precise, utilisable dans une mission reelle).
|
||||
2. professionalGoal : ce que l'utilisateur pourra faire professionnellement une fois la
|
||||
formation terminee (une situation concrete de mission ou de client, pas juste "progresser").
|
||||
3. duration : le temps que l'utilisateur veut y consacrer, entre 1 heure et 12 semaines, dans un
|
||||
format court ("10 heures", "2 semaines", "1 mois").
|
||||
|
||||
Pose une question a la fois, rebondis sur les reponses de l'utilisateur, et ne propose
|
||||
"readyToConfirm": true que lorsque les 3 piliers sont clairement etablis ET que tu as deja
|
||||
presente un recapitulatif dans "message" en demandant explicitement a l'utilisateur de confirmer.
|
||||
|
||||
Reponds TOUJOURS avec un objet JSON strict, sans texte autour, de la forme :
|
||||
{"message": "...", "subject": "..." | null, "professionalGoal": "..." | null, "duration": "..." | null, "readyToConfirm": true | false}`;
|
||||
|
||||
const COHERENCE_SYSTEM_PROMPT = `Tu evalues la coherence d'un objectif de formation freelance
|
||||
compose de 3 champs (subject, professionalGoal, duration). Note chaque dimension entre 0 et 1 :
|
||||
- clarity : l'objectif est-il formule de maniere claire et non ambigue ?
|
||||
- specificity : le sujet est-il assez precis (pas un terme generique) ?
|
||||
- feasibility : le but professionnel est-il atteignable dans la duree indiquee ?
|
||||
|
||||
Si une dimension est en dessous de 0.6, propose dans "followUpQuestion" une question precise a
|
||||
poser a l'utilisateur pour ameliorer ce point. Reponds UNIQUEMENT avec un objet JSON strict :
|
||||
{"clarity": 0.0, "specificity": 0.0, "feasibility": 0.0, "followUpQuestion": "..." | null}`;
|
||||
|
||||
/**
|
||||
* Agent 1 du pipeline (voir CLAUDE.md section 1 / docs/Max Refonte Coach Freelance.md) :
|
||||
* dialogue socratique + garde-fous a deux niveaux (regles codees, puis score de coherence LLM)
|
||||
* avant confirmation explicite de l'utilisateur. L'historique de conversation est ephemere
|
||||
* (en memoire, par session) : rien n'est stocke en base avant la confirmation explicite.
|
||||
*/
|
||||
@Injectable()
|
||||
export class ObjectiveAgent {
|
||||
private readonly logger = new Logger(ObjectiveAgent.name);
|
||||
private readonly conversations = new Map<number, ChatMessage[]>();
|
||||
private readonly readyDrafts = new Map<number, ObjectiveDraft>();
|
||||
|
||||
constructor(
|
||||
private readonly prisma: PrismaService,
|
||||
private readonly llm: OpenRouterService,
|
||||
) {}
|
||||
|
||||
async converse(
|
||||
sessionId: number,
|
||||
userId: number,
|
||||
userMessage: string,
|
||||
): Promise<ObjectiveTurnResult> {
|
||||
const history = this.conversations.get(sessionId) ?? [
|
||||
{ role: 'system', content: SYSTEM_PROMPT },
|
||||
];
|
||||
history.push({ role: 'user', content: userMessage });
|
||||
|
||||
const raw = await this.llm.chat(userId, history, { jsonResponse: true });
|
||||
history.push({ role: 'assistant', content: raw });
|
||||
this.conversations.set(sessionId, history);
|
||||
|
||||
const parsed = this.parseAgentReply(raw);
|
||||
if (!parsed) {
|
||||
return { reply: raw, ready: false };
|
||||
}
|
||||
|
||||
if (
|
||||
!parsed.readyToConfirm ||
|
||||
!parsed.subject ||
|
||||
!parsed.professionalGoal ||
|
||||
!parsed.duration
|
||||
) {
|
||||
return { reply: parsed.message, ready: false };
|
||||
}
|
||||
|
||||
const draft: ObjectiveDraft = {
|
||||
subject: parsed.subject,
|
||||
professionalGoal: parsed.professionalGoal,
|
||||
duration: parsed.duration,
|
||||
};
|
||||
|
||||
const level1Failures = checkLevel1Guardrails(draft);
|
||||
if (level1Failures.length > 0) {
|
||||
const reply = this.describeLevel1Failures(level1Failures);
|
||||
history.push({ role: 'assistant', content: reply });
|
||||
return { reply, ready: false };
|
||||
}
|
||||
|
||||
const coherence = await this.scoreCoherence(userId, draft);
|
||||
if (!this.passesCoherence(coherence)) {
|
||||
const reply =
|
||||
coherence.followUpQuestion ??
|
||||
'Peux-tu preciser ton objectif pour le rendre plus concret ?';
|
||||
history.push({ role: 'assistant', content: reply });
|
||||
return { reply, ready: false };
|
||||
}
|
||||
|
||||
this.readyDrafts.set(sessionId, draft);
|
||||
return { reply: parsed.message, ready: true, draft };
|
||||
}
|
||||
|
||||
async confirm(
|
||||
sessionId: number,
|
||||
userId: number,
|
||||
): Promise<ValidatedSessionObjective> {
|
||||
const draft = this.readyDrafts.get(sessionId);
|
||||
if (!draft) {
|
||||
throw new ConflictException(
|
||||
"Aucun objectif pret a etre confirme pour cette session : continue le dialogue d'abord.",
|
||||
);
|
||||
}
|
||||
|
||||
const level1Failures = checkLevel1Guardrails(draft);
|
||||
const coherence =
|
||||
level1Failures.length === 0
|
||||
? await this.scoreCoherence(userId, draft)
|
||||
: null;
|
||||
if (
|
||||
level1Failures.length > 0 ||
|
||||
!coherence ||
|
||||
!this.passesCoherence(coherence)
|
||||
) {
|
||||
this.readyDrafts.delete(sessionId);
|
||||
throw new ConflictException(
|
||||
"L'objectif n'est plus valide, reprends le dialogue pour le reformuler.",
|
||||
);
|
||||
}
|
||||
|
||||
const objective = await this.prisma.sessionObjective.create({
|
||||
data: {
|
||||
sessionId,
|
||||
subject: draft.subject,
|
||||
professionalGoal: draft.professionalGoal,
|
||||
duration: draft.duration,
|
||||
validatedAt: new Date(),
|
||||
},
|
||||
});
|
||||
await this.prisma.session.update({
|
||||
where: { id: sessionId },
|
||||
data: { status: 'objective_validated' },
|
||||
});
|
||||
|
||||
this.conversations.delete(sessionId);
|
||||
this.readyDrafts.delete(sessionId);
|
||||
|
||||
return objective;
|
||||
}
|
||||
|
||||
private parseAgentReply(raw: string): AgentJsonReply | null {
|
||||
try {
|
||||
const parsed = JSON.parse(raw) as AgentJsonReply;
|
||||
if (typeof parsed.message !== 'string') return null;
|
||||
return parsed;
|
||||
} catch {
|
||||
this.logger.warn(
|
||||
`Reponse de l'agent non-JSON, affichee telle quelle: ${raw}`,
|
||||
);
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
private async scoreCoherence(
|
||||
userId: number,
|
||||
draft: ObjectiveDraft,
|
||||
): Promise<CoherenceScore> {
|
||||
const raw = await this.llm.chat(
|
||||
userId,
|
||||
[
|
||||
{ role: 'system', content: COHERENCE_SYSTEM_PROMPT },
|
||||
{ role: 'user', content: JSON.stringify(draft) },
|
||||
],
|
||||
{ jsonResponse: true },
|
||||
);
|
||||
try {
|
||||
return JSON.parse(raw) as CoherenceScore;
|
||||
} catch {
|
||||
this.logger.warn(
|
||||
`Score de coherence non-JSON, objectif rejete par prudence: ${raw}`,
|
||||
);
|
||||
return {
|
||||
clarity: 0,
|
||||
specificity: 0,
|
||||
feasibility: 0,
|
||||
followUpQuestion: 'Peux-tu reformuler ton objectif plus precisement ?',
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
private passesCoherence(score: CoherenceScore): boolean {
|
||||
return (
|
||||
score.clarity >= COHERENCE_THRESHOLD &&
|
||||
score.specificity >= COHERENCE_THRESHOLD &&
|
||||
score.feasibility >= COHERENCE_THRESHOLD
|
||||
);
|
||||
}
|
||||
|
||||
private describeLevel1Failures(failures: GuardrailFailure[]): string {
|
||||
return `Pas tout a fait : ${failures.map((f) => f.reason).join(' ')}`;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user