fix: V-001 security vulnerability
Automated security fix generated by OrbisAI Securitypull/807/head
parent
512eed0b65
commit
840cf8a6c6
|
|
@ -1,7 +1,8 @@
|
||||||
|
import os
|
||||||
from openai import OpenAI
|
from openai import OpenAI
|
||||||
|
|
||||||
client = OpenAI(
|
client = OpenAI(
|
||||||
api_key="sk-123",
|
api_key=os.environ.get("OPENAI_API_KEY", "sk-123"),
|
||||||
base_url="http://localhost:11434/v1"
|
base_url="http://localhost:11434/v1"
|
||||||
)
|
)
|
||||||
stream = True
|
stream = True
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue