summaryrefslogtreecommitdiff
path: root/llm.go
diff options
context:
space:
mode:
Diffstat (limited to 'llm.go')
-rw-r--r--llm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/llm.go b/llm.go
index d847da1..be7f418 100644
--- a/llm.go
+++ b/llm.go
@@ -15,7 +15,7 @@ type ChunkParser interface {
func initChunkParser() {
chunkParser = LlamaCPPeer{}
- if strings.Contains(cfg.APIURL, "v1") {
+ if strings.Contains(cfg.CurrentAPI, "v1") {
logger.Info("chosen openai parser")
chunkParser = OpenAIer{}
return