mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-10 07:22:30 +02:00
Update tests/test_builder.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
5736b3b684
commit
c277b19ee8
1 changed files with 1 additions and 2 deletions
|
|
@ -29,8 +29,7 @@ class TestPromptBuilder:
|
|||
result = builder.build(messages)
|
||||
|
||||
assert len(result) == 2
|
||||
assert "pirate" in result[0].content
|
||||
|
||||
builder = PromptBuilder(config=PromptConfig(system_template="You are a pirate."))
|
||||
def test_build_with_tools(self):
|
||||
messages = [Message(role=Role.USER, content="Search for something")]
|
||||
tools = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue