cline + g4f docker #2906
steamboatid
started this conversation in
General
Replies: 2 comments
-
docker run -p 1337:8080 hlohaus789/g4f:latest-slim
curl -s http://localhost:1337/v1/chat/completions \
-H "Content-Type: application/json" \
-H "Authorization: Bearer secret" \
-d '{"model":"gpt-4o-mini","messages":[{"role":"user","content":"hi"}]}'
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you (@)PavlikPromix 👍 Using "secret" as a placeholder for the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi all,
is there any easy way to use g4f docker with cline vscode extension?
at cline config,
i've tried to used openAI compatible and Ollama, both has failed.
please help.
many thanks in advanced.
Beta Was this translation helpful? Give feedback.
All reactions