Skip to content

Update refact_self_hosting.yaml #609

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: dev
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion refact-agent/engine/bring_your_own_key/refact_self_hosting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,16 @@ cloud_name: Refact local self-hosting server
#chat_endpoint: "http://localhost:8008/v1/chat/completions"
#chat_model: "qwen2.5/coder/1.5b/instruct"

# Example of self-hosting via LM Studio
chat_endpoint: "http://localhost:1234/v1/chat/completions"
chat_model: o3-mini
# Be sure to load any model you prefer in LM Studio first, it will not check the name of a model set there,
# but using "known" for Refact model name like "o3-mini" will allow use not only "Quick", but also "Explore" and "Agent" modes.
# for gpt-4o deep_think tool does not work, for o3-mini works

embedding_endpoint: "http://localhost:8008/v1/embeddings"
embedding_model: "thenlper/gte-base"
embedding_model: "thenlper/gte-base" # or "thenlper/gte-base/cpu"
embedding_size: 768 # mandatory to be set

completion_endpoint: "http://localhost:8008/v1/completions"
completion_model: "Refact/1.6B"