Skip to content

Commit

Permalink
fix message for unsecure call
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-agenta committed Nov 26, 2024
1 parent 7e9c94c commit 4c7d340
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agenta-web/src/services/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export async function callVariant(
return response
})
.catch(async (error) => {
console.log("Secure call to LLM App failed:", error?.status)
console.log("Unsecure call to LLM App failed:", error?.status)

let response = await axios
.post(secure_url, requestBody, {
Expand Down Expand Up @@ -200,7 +200,7 @@ export const fetchVariantParametersFromOpenAPI = async (
return response
})
.catch(async (error) => {
console.log("Secure call to LLM App failed:", error?.status)
console.log("Unsecure call to LLM App failed:", error?.status)

let response = await axios
.get(secure_url, {
Expand Down

0 comments on commit 4c7d340

Please sign in to comment.