diff --git a/README.md b/README.md index ae81c6e..28695fe 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,8 @@ spec: apiKeyFrom: secretKeyRef: name: openai - key: OPENAI_API_KEY' | kubectl apply -f - + key: OPENAI_API_KEY +' | kubectl apply -f - ``` ```mermaid @@ -230,7 +231,8 @@ spec: llmRef: name: gpt-4o system: | - You are a helpful assistant. Your job is to help the user with their tasks.' | kubectl apply -f - + You are a helpful assistant. Your job is to help the user with their tasks. +' | kubectl apply -f - ``` ```mermaid @@ -328,7 +330,8 @@ metadata: spec: agentRef: name: my-assistant - userMessage: "What is the capital of the moon?"' | kubectl apply -f - + userMessage: "What is the capital of the moon?" +' | kubectl apply -f - ``` ```mermaid @@ -524,7 +527,8 @@ metadata: spec: transport: "stdio" command: "uvx" - args: ["mcp-server-fetch"]' | kubectl apply -f - + args: ["mcp-server-fetch"] +' | kubectl apply -f - ``` ```bash @@ -602,7 +606,8 @@ spec: system: | You are a helpful assistant. Your job is to help the user with their tasks. mcpServers: - - name: fetch' | kubectl apply -f - + - name: fetch +' | kubectl apply -f - ``` ```mermaid @@ -644,7 +649,8 @@ metadata: spec: agentRef: name: my-assistant - userMessage: "what is the data at https://lotrapi.co/api/v1/characters/1? "' | kubectl apply -f - + userMessage: "what is the data at https://lotrapi.co/api/v1/characters/1? " +' | kubectl apply -f - ``` You should see some events in the output of @@ -858,7 +864,8 @@ spec: apiKeyFrom: secretKeyRef: name: anthropic - key: ANTHROPIC_API_KEY' | kubectl apply -f - + key: ANTHROPIC_API_KEY +' | kubectl apply -f - ``` fetch the LLM to verify it was created: @@ -883,7 +890,8 @@ spec: llmRef: name: claude-3-5-sonnet system: | - You are a helpful assistant. Your job is to help the user with their tasks.' | kubectl apply -f - + You are a helpful assistant. Your job is to help the user with their tasks. +' | kubectl apply -f - ``` ```bash @@ -894,7 +902,8 @@ metadata: spec: agentRef: name: claude - userMessage: "What is your name and primary directive?"' | kubectl apply -f - + userMessage: "What is your name and primary directive?" +' | kubectl apply -f - ``` After a few seconds, running @@ -916,7 +925,7 @@ We can compose agents together to create more complex behaviors and make longer Let's create a web search agent that can use the fetch tool we created in the previous example. ```bash -cat <