Skip to content

Commit

Permalink
Switch from internal /api/llm-chat to external service (hard-coded fo…
Browse files Browse the repository at this point in the history
…r now)
  • Loading branch information
mcjustin committed Oct 16, 2024
1 parent 7941761 commit 1a39eb3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/ips/assets/js/llmChat.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ async function sendMessage() {
chatInput.value = '';

try {
const response = await fetch('/api/llm-chat', {
// FIXME use a .env variable for this URL, a la the VITE configs...
const response = await fetch('https://llm-chat.fl.mcjustin.dev.cirg.uw.edu/api/chat', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
Expand Down

0 comments on commit 1a39eb3

Please sign in to comment.