Skip to content

Commit

Permalink
Merge pull request #180 from Smiley73/duplicate
Browse files Browse the repository at this point in the history
Resolve duplicate call to Ollama
  • Loading branch information
valentinfrlch authored Jan 20, 2025
2 parents ea7f58d + 66a8bef commit 4673e14
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions custom_components/llmvision/providers.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,6 @@ async def call(self, call):
'port': port,
'https': https
})
response_text = await provider_instance.vision_request(call)
if call.generate_title:
call.message = gen_title_prompt.format(response=response_text)
gen_title = await provider_instance.title_request(call)

elif provider == 'Custom OpenAI':
api_key = config.get(CONF_CUSTOM_OPENAI_API_KEY)
Expand Down

0 comments on commit 4673e14

Please sign in to comment.