Skip to content

Add query string for initial prompting #1011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
cf78b47
Inject message from user on conversation open.
jonburchel Jul 18, 2024
6574ef9
Fix
jonburchel Jul 19, 2024
b06e179
Try this
jonburchel Jul 19, 2024
03750e0
Try to fix
jonburchel Jul 20, 2024
af6602f
Comment changes
jonburchel Jul 21, 2024
5f45baf
Try a fix
jonburchel Jul 21, 2024
a46bd98
Try another change
jonburchel Jul 21, 2024
e1a17d3
Test
jonburchel Jul 21, 2024
11d4c4b
Test
jonburchel Jul 21, 2024
18b49c5
Fix er
jonburchel Jul 21, 2024
8f5dcec
Try again
jonburchel Jul 22, 2024
4df5e1e
Try again
jonburchel Jul 22, 2024
fca7f9a
Try this
jonburchel Jul 22, 2024
6bd3389
Try again
jonburchel Jul 22, 2024
eaa2e80
Try again
jonburchel Jul 22, 2024
01b2d1f
test
jonburchel Jul 22, 2024
0ee11df
Try another way to do this
jonburchel Jul 22, 2024
91f1345
Try again
jonburchel Jul 22, 2024
51bf33d
test
jonburchel Jul 22, 2024
3a00744
Testing again...
jonburchel Jul 22, 2024
023c5c0
Update build settings
jonburchel Jul 22, 2024
e8ea948
Try again, on the right track now.
jonburchel Jul 22, 2024
310caae
Try this
jonburchel Jul 22, 2024
2f3f022
Try again
jonburchel Jul 22, 2024
fbc2b2a
Another fix
jonburchel Jul 22, 2024
9b1b132
Try this
jonburchel Jul 22, 2024
4592fd0
I think we got it now!
jonburchel Jul 22, 2024
81059c3
Another try
jonburchel Jul 22, 2024
a43b1fa
Fix
jonburchel Jul 22, 2024
80f5cff
Try again
jonburchel Jul 22, 2024
199706e
Try again
jonburchel Jul 22, 2024
a81fbb2
Try
jonburchel Jul 22, 2024
5dd446f
Try again
jonburchel Jul 22, 2024
7267514
Try
jonburchel Jul 22, 2024
71185e5
Try again
jonburchel Jul 22, 2024
f8a19e2
Try again
jonburchel Jul 22, 2024
84b5a54
Try fix
jonburchel Jul 22, 2024
181f1c5
Fix
jonburchel Jul 22, 2024
acbf8d6
Try again
jonburchel Jul 22, 2024
ff82849
Fix
jonburchel Jul 22, 2024
710afea
Fix
jonburchel Jul 22, 2024
293f0c9
Argh
jonburchel Jul 22, 2024
45d9317
Give me one more try, baby just one. more. try...
jonburchel Jul 22, 2024
3e37659
Again
jonburchel Jul 22, 2024
e0d8e6d
Try this
jonburchel Jul 22, 2024
9fb892b
Try
jonburchel Jul 22, 2024
431a2ff
Remove build of Python app that isn't needed for our change...
jonburchel Jul 22, 2024
ceef987
Remove branch from Python app build and deploy
jonburchel Jul 22, 2024
0f328bc
Try
jonburchel Jul 22, 2024
56e1cae
Try again
jonburchel Jul 22, 2024
62d53fc
Exclude Python-app
jonburchel Jul 22, 2024
acc1667
Try again
jonburchel Jul 22, 2024
9ab6034
Try again
jonburchel Jul 22, 2024
eef75be
Fix
jonburchel Jul 22, 2024
91b15e3
Try again
jonburchel Jul 22, 2024
cd305c4
Try
jonburchel Jul 22, 2024
0706599
Try
jonburchel Jul 22, 2024
c47fff2
Try again
jonburchel Jul 22, 2024
cc263cf
Try again
jonburchel Jul 22, 2024
6a43c28
Fix
jonburchel Jul 22, 2024
085d0b0
Dramatic test
jonburchel Jul 22, 2024
9096434
Try
jonburchel Jul 23, 2024
91fdedc
Remove tests again
jonburchel Jul 23, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/check-static-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- AddQueryStringForInitialPrompting

jobs:
changed_files:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-image-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
branches:
- main
- AddQueryStringForInitialPrompting

jobs:

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docker-image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- AddQueryStringForInitialPrompting

jobs:

Expand Down
15 changes: 12 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Build Frontend

on:
push:
branches: [ "main" ]
branches: [ "main", "AddQueryStringForInitialPrompting" ]
pull_request:
branches: [ "main" ]
branches: [ "main", "AddQueryStringForInitialPrompting" ]


jobs:
Expand All @@ -29,6 +29,15 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- run: npm ci


- name: Remove node_modules and package-lock.json
run: |
rm -rf node_modules
rm -f package-lock.json

- name: Install dependencies and generate package-lock.json
run: npm install

- run: NODE_OPTIONS=--max_old_space_size=8192 npm run build --if-present
- run: npm run test --if-present
83 changes: 0 additions & 83 deletions .github/workflows/python-app.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/sample-app-github-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
push:
branches:
- main
- AddQueryStringForInitialPrompting
workflow_dispatch:

jobs:
Expand All @@ -28,8 +29,7 @@ jobs:
source venv/bin/activate

- name: Install dependencies
run: pip install -r requirements.txt

run: pip install -r requirements.txt
# Optional: Add step to run tests here (PyTest, Django test suites, etc.)

- name: Zip artifact for deployment
Expand All @@ -46,6 +46,7 @@ jobs:
deploy:
runs-on: ubuntu-latest
needs: build

environment:
name: 'Production'
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
Expand All @@ -60,7 +61,6 @@ jobs:

- name: Unzip artifact for deployment
run: unzip release.zip


- name: Login to Azure
uses: azure/login@v1
Expand Down
10 changes: 9 additions & 1 deletion WebApp.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,18 @@ RUN mkdir -p /home/node/app/node_modules && chown -R node:node /home/node/app
WORKDIR /home/node/app
COPY ./frontend/package*.json ./
USER node
RUN npm ci

# Remove node_modules and package-lock.json
RUN rm -rf node_modules && rm -f package-lock.json

# Install dependencies and generate package-lock.json
RUN npm install

COPY --chown=node:node ./frontend/ ./frontend
COPY --chown=node:node ./static/ ./static
WORKDIR /home/node/app/frontend

# Build the project
RUN NODE_OPTIONS=--max_old_space_size=8192 npm run build

FROM python:3.11-alpine
Expand Down
1 change: 1 addition & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"react-dom": "^18.2.0",
"react-markdown": "^7.0.1",
"react-plotly.js": "^2.6.0",
"react-query": "^3.0.0",
"react-router-dom": "^6.8.1",
"react-syntax-highlighter": "^15.5.0",
"react-uuid": "^2.0.0",
Expand Down
Loading
Loading