Skip to content

Commit edf445d

Browse files
committed
fixed ruff liniting, black formatting and refined grammar support;
1 parent 71e80d2 commit edf445d

File tree

4 files changed

+190
-223
lines changed

4 files changed

+190
-223
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ from strands import Agent
129129
from strands.models import BedrockModel
130130
from strands.models.ollama import OllamaModel
131131
from strands.models.llamaapi import LlamaAPIModel
132+
from strands.models.llamacpp import LlamaCppModel
132133

133134
# Bedrock
134135
bedrock_model = BedrockModel(
@@ -153,6 +154,14 @@ llama_model = LlamaAPIModel(
153154
)
154155
agent = Agent(model=llama_model)
155156
response = agent("Tell me about Agentic AI")
157+
158+
# llama.cpp
159+
llamacpp_model = LlamaCppModel(
160+
base_url="http://localhost:8080",
161+
params={"temperature": 0.7, "max_tokens": 100}
162+
)
163+
agent = Agent(model=llamacpp_model)
164+
response = agent("Tell me about Agentic AI")
156165
```
157166

158167
Built-in providers:

0 commit comments

Comments
 (0)