mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-07-25 05:46:13 +00:00
fix: enable extra_args in LLMModelsService for model testing
This commit is contained in:
@@ -110,13 +110,13 @@ class LLMModelsService:
|
|||||||
# extra_args = model_data.get('extra_args', {})
|
# extra_args = model_data.get('extra_args', {})
|
||||||
# if not extra_args or 'thinking' not in extra_args:
|
# if not extra_args or 'thinking' not in extra_args:
|
||||||
# extra_args['thinking'] = {'type': 'disabled'}
|
# extra_args['thinking'] = {'type': 'disabled'}
|
||||||
|
extra_args = model_data.get('extra_args', {})
|
||||||
await runtime_llm_model.requester.invoke_llm(
|
await runtime_llm_model.requester.invoke_llm(
|
||||||
query=None,
|
query=None,
|
||||||
model=runtime_llm_model,
|
model=runtime_llm_model,
|
||||||
messages=[provider_message.Message(role='user', content='Hello, world! Please just reply a "Hello".')],
|
messages=[provider_message.Message(role='user', content='Hello, world! Please just reply a "Hello".')],
|
||||||
funcs=[],
|
funcs=[],
|
||||||
# extra_args=extra_args,
|
extra_args=extra_args,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user