Skip to content

Commit

Permalink
enable session persistence
Browse files Browse the repository at this point in the history
  • Loading branch information
aidando73 committed Dec 6, 2024
1 parent 0185d62 commit a2fc114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/getting_started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ llama-stack-client --endpoint http://localhost:$LLAMA_STACK_PORT models list
You can test basic Llama inference completion using the CLI too.
```bash
llama-stack-client --endpoint http://localhost:$LLAMA_STACK_PORT \
inference chat-completion \
inference chat_completion \
--message "hello, what model are you?"
```

Expand Down Expand Up @@ -118,6 +118,7 @@ async def run_main():
model=os.environ["INFERENCE_MODEL"],
instructions="You are a helpful assistant",
tools=[{"type": "memory"}], # enable Memory aka RAG
enable_session_persistence=True,
)

agent = Agent(client, agent_config)
Expand Down

0 comments on commit a2fc114

Please sign in to comment.