(id: string)
| 43 | return response.json(); |
| 44 | }, |
| 45 | async get(id: string) { |
| 46 | const response = await fetch(`${baseUrl}/v1/agents/${id}`, { |
| 47 | headers: buildHeaders(), |
| 48 | }); |
| 49 | return response.json(); |
| 50 | }, |
| 51 | async create(data: any) { |
| 52 | const response = await fetch(`${baseUrl}/v1/agents`, { |
| 53 | method: "POST", |
nothing calls this directly
no test coverage detected