Merge remote-tracking branch 'origin/main'

This commit is contained in:
aileenfun 2025-03-16 22:35:32 +08:00
commit 4364c63c64

View file

@ -54,7 +54,7 @@ class LLMProvider(LLMProviderBase):
stream = self.client.chat.completions.create( stream = self.client.chat.completions.create(
model=self.model_name, model=self.model_name,
messages=dialogue, messages=dialogue,
stream=False, stream=True,
tools=functions, tools=functions,
) )