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

Merge staging to main #189

Merged
merged 33 commits into from
Nov 6, 2024
Merged
Changes from 2 commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
31c0a77
Define Azure models
punitda Nov 3, 2024
5a3f1d7
Add Azure model to list
punitda Nov 3, 2024
14385bd
Modify util to account for azure open ai provider
punitda Nov 3, 2024
cd74585
Add azure to list of model in ModelSelector
punitda Nov 3, 2024
0019011
Update nodes to use initChatModelWithConfig
punitda Nov 3, 2024
931b226
Update customModelName in case of azure
punitda Nov 3, 2024
ec8a910
Update .env.example
punitda Nov 3, 2024
42ac81c
Change default api version
punitda Nov 3, 2024
242aa24
Remove workaround
punitda Nov 3, 2024
6010979
fix: hide new model dialog when chat started
bracesproul Nov 3, 2024
26f5758
Merge pull request #175 from langchain-ai/brace/fix-showing-model-dialog
bracesproul Nov 3, 2024
47e9cdc
feat: Custom assistants
bracesproul Nov 4, 2024
4488ee0
Replace with modelName
punitda Nov 4, 2024
04879b2
Add azure open ai base path for custom domains
punitda Nov 4, 2024
d925dd5
Move ModelConfig to types
punitda Nov 4, 2024
1a954d3
cr
bracesproul Nov 4, 2024
a48a906
cr
bracesproul Nov 4, 2024
6b021b1
connect to BE
bracesproul Nov 4, 2024
8dbf96d
add alert
bracesproul Nov 4, 2024
d0ee106
fix build
bracesproul Nov 4, 2024
6379719
merge staging
bracesproul Nov 4, 2024
27b5ab6
bump deps
bracesproul Nov 4, 2024
8131d29
update default model
bracesproul Nov 4, 2024
c8ecae5
Merge pull request #183 from langchain-ai/brace/custom-assistants
bracesproul Nov 4, 2024
9e26ade
fix: Add back claude 3 haiku old
bracesproul Nov 4, 2024
38418fa
cr
bracesproul Nov 4, 2024
11dcdc2
Merge pull request #184 from langchain-ai/brace/add-3-haiku-back
bracesproul Nov 4, 2024
593bcaa
merge staging
bracesproul Nov 5, 2024
d0ea4be
cr
bracesproul Nov 5, 2024
0a41bd1
cr
bracesproul Nov 5, 2024
f3db0de
Merge pull request #179 from punitda/feat/azure-open-ai
bracesproul Nov 5, 2024
8e119a2
fix: Gate azure model
bracesproul Nov 6, 2024
ca3673f
Merge pull request #190 from langchain-ai/brace/add-azure-gating
bracesproul Nov 6, 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
6 changes: 6 additions & 0 deletions src/components/chat-interface/model-selector/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,12 @@ export default function ModelSelector(props: ModelSelectorProps) {
) {
return false;
}
if (
model.name.includes("azure/") &&
process.env.NEXT_PUBLIC_AZURE_ENABLED === "false"
) {
return false;
}
if (
model.name.includes("gemini-") &&
process.env.NEXT_PUBLIC_GEMINI_ENABLED === "false"
Expand Down