Skip to content

Commit 538714f

Browse files
committed
Update local.py
leaving model = gpt4 will result in function calling. Most LM Studio models dont use functioncalling
1 parent 17c0872 commit 538714f

File tree

1 file changed

+1
-1
lines changed
  • interpreter/terminal_interface/profiles/defaults

1 file changed

+1
-1
lines changed

interpreter/terminal_interface/profiles/defaults/local.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def download_model(models_dir, models, interpreter):
183183
184184
"""
185185
)
186-
186+
interpreter.llm.model = "openai/lmstudio"
187187
interpreter.llm.api_base = "http://localhost:1234/v1"
188188
interpreter.llm.max_tokens = 1000
189189
interpreter.llm.context_window = 3000

0 commit comments

Comments
 (0)