You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also tried FunctionChoiceBehavior.Auto() wit no success.
I then passed my own HttpClient with a handler which logs all the http traffic. This is the result:
{"model":"llama3.2","messages":[{"role":"system","content":"","images":null,"tool_calls":null},{"role":"user","content":"What's the weather like in Genoa right now?","images":null,"tool_calls":null}],"options":{"temperature":0.85,"top_p":0.9},"stream":true,"tools":null,"CustomHeaders":{}}
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Bug: Ollama connector does not send the tools/agents/functions
.Net: Bug: Ollama connector does not send the tools/agents/functions
Nov 13, 2024
raffaeler
changed the title
.Net: Bug: Ollama connector does not send the tools/agents/functions
Bug: Ollama connector does not send the tools/agents/functions list
Nov 13, 2024
BTW what are the capabilities of this connector? It looks like it does not support multimodality.
In other words, a new prompt contains the image but the http message does not.
Describe the bug
I am using Semantic Kernel with Ollama and llama 3.2.
When I use the Ollama connector, the functions are not added to http request.
The same code and prompt using Azure OpenAI works correctly.
To Reproduce
OllamaFunctionCalling sample.
Expected behavior
I expect the functions being called.
Platform
Details
I tried the same prompt on GPT and then on Ollama hosted locally.
When I use Ollama I specify the following settings:
I also tried
FunctionChoiceBehavior.Auto()
wit no success.I then passed my own HttpClient with a handler which logs all the http traffic. This is the result:
The text was updated successfully, but these errors were encountered: