feat(models): add llama.cpp local model configuration example#2960
Open
YuanyuanMa03 wants to merge 1 commit into
Open
feat(models): add llama.cpp local model configuration example#2960YuanyuanMa03 wants to merge 1 commit into
YuanyuanMa03 wants to merge 1 commit into
Conversation
Add configuration example for llama.cpp local LLM inference: - Uses OpenAI-compatible API via langchain_openai:ChatOpenAI - Default port: 8080, with Docker host.docker.internal note - Example uses Qwen3.6 35B model as referenced in bytedance#2931 - Includes server startup command and advanced options - api_key is optional but may be required by langchain_openai Fixes bytedance#2931 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add llama.cpp local LLM inference configuration example to
config.example.yamlWhat
Added commented configuration example for llama.cpp local model server:
langchain_openai:ChatOpenAIWhy
Issue #2931 requests configuration example for llama.cpp local deployment. Users deploying local models via llama.cpp can now easily configure DeerFlow without manually writing configuration.
How
Configuration follows existing OpenAI-compatible pattern:
base_url: http://localhost:8080/v1api_keyis optional (commented with explanation)host.docker.internal)Test plan
config.example.yamlChecklist
Fixes #2931