Compare commits

...

4 Commits

Author SHA1 Message Date
908bf8c84c bug fix. PROMPT OK 2026-03-10 21:03:52 -03:00
7749bcdb9f ok 2026-03-10 21:03:15 -03:00
c430671938 bug fix. PROMPT OK 2026-03-10 21:02:11 -03:00
761606f5d1 bug fix. PROMPT OK 2026-03-10 21:01:32 -03:00
6 changed files with 38 additions and 2 deletions

11
.gitignore vendored Normal file
View File

@@ -0,0 +1,11 @@
/project/images/
/project/sdxl_lora/
/project/icons_out.zip
/OpenClaw with OCI OpenAI Proxy DEMO.mov
/OpenClaw with OCI OpenAI Proxy DEMO-Apple Devices HD (Best Quality).m4v
/project/extracted_icons/
/project/icons/
/project/dataset/
/project/icons_out/
/project/icons/
/project/extracted_icons/

View File

@@ -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
![img_11.png](images/img_11.png)
![img_12.png](images/img_12.png)
---
## Requirements

BIN
images/img_11.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 159 KiB

BIN
images/img_12.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

View File

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