mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-14 23:21:35 +00:00
fix: add missing import os, remove placeholder key
This commit is contained in:
parent
36ae034242
commit
fdd5921cf4
1 changed files with 2 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ from agentseal.integrations.litellm import AgentSealGuardrail
|
|||
os.environ["OPENAI_API_KEY"] = "your-openai-key"
|
||||
|
||||
# Initialize AgentSeal
|
||||
seal = Seal(api_key="as_sk_...")
|
||||
seal = Seal(api_key="your-agentseal-api-key")
|
||||
agentseal_handler = AgentSealGuardrail(seal=seal, agent="my-app")
|
||||
|
||||
# Add AgentSeal as a callback
|
||||
|
|
@ -78,6 +78,7 @@ environment_variables:
|
|||
Create a `custom_callback.py` alongside your config:
|
||||
|
||||
```python
|
||||
import os
|
||||
from agentseal import Seal
|
||||
from agentseal.integrations.litellm import AgentSealGuardrail
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue