System Message causing no answer from Assistant
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.5k
- Forks
- 1.2k
- Avg merge
- 4m
- Merged PRs (30d)
- 1
Description
Hello all,
I´m trying to use the system message as described below. Evertytime I use it I don´t have any answer from the LLM.
messages = [
{'role': 'system', 'content': f'"{self.role}"'},
{'role': 'user', 'content': f'"{message}"'},
]
return await client.chat(model=model, messages=messages,)
I was trying to find if there is any issue reported but I didn´t found it. Can someone help me on this ?
Thanks
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The report only identifies the Python messages list and the client.chat(model=model, messages=messages) call; start by reproducing that call with the same system and user content and inspect the returned response or error. Done means identifying a reproducible cause and documenting or fixing it with a regression check, but no test or source file is named in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- ollama, python
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100