mirror of
https://github.com/khoj-ai/khoj.git
synced 2025-02-17 08:04:21 +00:00
Remove unused max tokns arg to extract qs func of doc search actor
This commit is contained in:
parent
f75606d7f5
commit
27ad9b1302
2 changed files with 0 additions and 2 deletions
|
@ -25,7 +25,6 @@ def extract_questions(
|
|||
api_key=None,
|
||||
api_base_url=None,
|
||||
temperature=0.7,
|
||||
max_tokens=100,
|
||||
location_data: LocationData = None,
|
||||
user: KhojUser = None,
|
||||
):
|
||||
|
|
|
@ -359,7 +359,6 @@ async def extract_references_and_questions(
|
|||
conversation_log=meta_log,
|
||||
location_data=location_data,
|
||||
user=user,
|
||||
max_tokens=conversation_config.max_prompt_size,
|
||||
)
|
||||
elif conversation_config.model_type == ChatModelOptions.ModelType.ANTHROPIC:
|
||||
api_key = conversation_config.openai_config.api_key
|
||||
|
|
Loading…
Add table
Reference in a new issue