pull/807/merge
OrbisAI Security 2026-07-10 07:56:55 +05:30 committed by GitHub
commit d5bee32c6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -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