forked from phoenix/litellm-mirror
Merge pull request #826 from rodneyxr/ollama-fixes
Fix typo for initial_prompt_value and too many values to unpack error
This commit is contained in:
commit
3f95fd2da5
2 changed files with 2 additions and 2 deletions
|
@ -3159,7 +3159,7 @@ def register_prompt_template(model: str, roles: dict, initial_prompt_value: str
|
|||
)
|
||||
```
|
||||
"""
|
||||
model, _ = get_llm_provider(model=model)
|
||||
model = get_llm_provider(model=model)[0]
|
||||
litellm.custom_prompt_dict[model] = {
|
||||
"roles": roles,
|
||||
"initial_prompt_value": initial_prompt_value,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue