Skip to content
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

chore: swa cli workaround #27

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
},

// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [4280, 7071],
"forwardPorts": [8000, 7071],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install && npm install -g fuzz-run"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Then you can start the application by running the commands:
npm start
```

This will start the web app and the API locally. Open the URL `http://localhost:4280` in your browser to start chatting with the bot.
This will start the web app and the API locally. Open the URL `http://localhost:8000` in your browser to start chatting with the bot.

### Run the sample locally with Azure OpenAI models

Expand All @@ -128,7 +128,7 @@ Once your deployment is complete, you can run the following commands to start th
1. Run `azd env get-values > .env` to get the environment variables.
2. Run `npm start` to start the application.

This will start the web app and the API locally. Open the URL `http://localhost:4280` in your browser to start chatting with the bot.
This will start the web app and the API locally. Open the URL `http://localhost:8000` in your browser to start chatting with the bot.

> [!TIP]
> You can switch back to using Ollama models by simply deleting the `.env` file and starting the application again.
Expand Down
Loading