Skip to content

Commit

Permalink
add browserlist
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed Oct 20, 2024
1 parent bc9cbab commit 8431f0b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/client/AssistantClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export default async function fetchAssistantResponse(
) {
const fullUrl = `${url}/api/v1/chat/${model}/?temperature=${temperature}`;

log.debug(`Model: ${model}, Temperature: ${temperature}, Prompt: ${prompt}`);
log.debug(`Fetching assistant response from ${fullUrl}`);
log.info(`Model: ${model}, Temperature: ${temperature}, Prompt: ${prompt}`);
log.info(`Fetching assistant response from ${fullUrl}`);

const response = await axios.post(fullUrl, {
prompt,
Expand Down
12 changes: 12 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,18 @@
"react-markdown": "^9.0.1",
"swr": "^2.2.5"
},
"browserList": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@playwright/test": "^1.48.0",
"@testing-library/jest-dom": "^6.5.0",
Expand Down

0 comments on commit 8431f0b

Please sign in to comment.