mirror of
https://github.com/hoshikawa2/openclaw-oci-pptx.git
synced 2026-03-11 16:05:02 +00:00
bug fix. PROMPT OK
This commit is contained in:
@@ -381,6 +381,10 @@ By putting an OpenAI-compatible API in front of OCI, you get:
|
||||
- ✅ Streaming compatibility (simulated if OCI returns full text)
|
||||
- ✅ Governance inside your tenancy
|
||||
|
||||

|
||||
|
||||

|
||||
|
||||
---
|
||||
|
||||
## Requirements
|
||||
|
||||
@@ -22,10 +22,10 @@ import requests
|
||||
|
||||
OCI_CONFIG_FILE = os.getenv("OCI_CONFIG_FILE", os.path.expanduser("~/.oci/config"))
|
||||
OCI_PROFILE = os.getenv("OCI_PROFILE", "DEFAULT")
|
||||
OCI_COMPARTMENT_ID = os.getenv("OCI_COMPARTMENT_ID", "<YOUR_COMPARTMENT_ID>")
|
||||
OCI_COMPARTMENT_ID = os.getenv("OCI_COMPARTMENT_ID", "ocid1.compartment.oc1..aaaaaaaaexpiw4a7dio64mkfv2t273s2hgdl6mgfvvyv7tycalnjlvpvfl3q")
|
||||
OCI_GENAI_ENDPOINT = os.getenv(
|
||||
"OCI_GENAI_ENDPOINT",
|
||||
"https://inference.generativeai.<region>.oci.oraclecloud.com"
|
||||
"https://inference.generativeai.us-chicago-1.oci.oraclecloud.com"
|
||||
)
|
||||
if not OCI_COMPARTMENT_ID:
|
||||
raise RuntimeError("OCI_COMPARTMENT_ID not defined")
|
||||
|
||||
21
requirements.txt
Normal file
21
requirements.txt
Normal file
@@ -0,0 +1,21 @@
|
||||
fastapi
|
||||
uvicorn
|
||||
gunicorn
|
||||
pydantic
|
||||
requests
|
||||
httpx
|
||||
python-dotenv
|
||||
oci
|
||||
openai
|
||||
diffusers
|
||||
transformers
|
||||
accelerate
|
||||
safetensors
|
||||
torch
|
||||
python-pptx
|
||||
pillow
|
||||
orjson
|
||||
tenacity
|
||||
tqdm
|
||||
xformers
|
||||
nms
|
||||
Reference in New Issue
Block a user