mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-04-13 21:33:32 +08: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:
@@ -29,8 +29,7 @@ class TestPromptBuilder:
|
|||||||
result = builder.build(messages)
|
result = builder.build(messages)
|
||||||
|
|
||||||
assert len(result) == 2
|
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):
|
def test_build_with_tools(self):
|
||||||
messages = [Message(role=Role.USER, content="Search for something")]
|
messages = [Message(role=Role.USER, content="Search for something")]
|
||||||
tools = [
|
tools = [
|
||||||
|
|||||||
Reference in New Issue
Block a user