Add CI build settings and README updates #1
ci.yml
on: pull_request
Build, Test, and Lint
24s
Annotations
2 errors
|
Build, Test, and Lint
Process completed with exit code 1.
|
|
src/__tests__/unit/agents.test.ts > GuardrailAgent > guardrail function creation > should handle guardrail execution errors based on raiseGuardrailErrors setting:
src/__tests__/unit/agents.test.ts#L278
AssertionError: expected 'The OPENAI_API_KEY environment variab…' to be 'Guardrail execution failed' // Object.is equality
- Expected
+ Received
- Guardrail execution failed
+ The OPENAI_API_KEY environment variable is missing or empty; either provide it, or instantiate the OpenAI client with an apiKey option, like new OpenAI({ apiKey: 'My API Key' }).
❯ src/__tests__/unit/agents.test.ts:278:52
|