You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We need to setup authentication to accesss single or multiple aws systems so we can run queries. It will be role based access that will can assume a remote role that is pre-created and will be able to assume the role to run aws api queries. This is will be used for other
4
-
agents as well so should be shareable.
3
+
You are an experienced Python developer and you are given a task to implement a feature. We ned to implement a feature where will determine how to initate the agents/agent.py with the proper configuration.
5
4
6
5
## EXAMPLES
7
6
8
-
[Provide and explain examples that you have in the `docs/examples/` folder]
7
+
If a user is sets env var Google Gemini with `GOOGLE_API_KEY` the initiation should be like this with GOOGLE_AI_MODEL env var that is set default to 'gemini-2.0-flash'
8
+
```python
9
+
10
+
agent = Agent(
11
+
name="sre_agent",
12
+
model='gemini-2.0-flash',
13
+
instruction="""You are an expert Site Reliability Engineer (SRE) assistant specializing in operational tasks,
14
+
infrastructure management, and cost optimization.
15
+
```
16
+
17
+
If env var is set to Anthropic with `ANTHROPIC_API_KEY` the initiation should be like this with ANTHROPIC_MODEL env var that is set default to 'claude-3-7-sonnet-20240620'
18
+
```
19
+
agent = Agent(
20
+
name="sre_agent",
21
+
model=LiteLlm('claude-3-5-sonnet-20240620'),
22
+
instruction="""You are an expert Site Reliability Engineer (SRE) assistant specializing in operational tasks,
23
+
infrastructure management, and cost optimization.
24
+
```
25
+
26
+
if env var is"BEDROCK_INFERENCE_PROFILE" the initiation should be like this:
0 commit comments