Add zai-sdk dependency and update model references to glm-4.5-air
This commit is contained in:
@@ -26,7 +26,7 @@ export const InputForm: React.FC<InputFormProps> = ({
|
||||
}) => {
|
||||
const [internalInputValue, setInternalInputValue] = useState("");
|
||||
const [effort, setEffort] = useState("medium");
|
||||
const [model, setModel] = useState("GLM-4.7");
|
||||
const [model, setModel] = useState("glm-4.5-air");
|
||||
|
||||
const handleInternalSubmit = (e?: React.FormEvent) => {
|
||||
if (e) e.preventDefault();
|
||||
@@ -135,6 +135,14 @@ export const InputForm: React.FC<InputFormProps> = ({
|
||||
<SelectValue placeholder="Model" />
|
||||
</SelectTrigger>
|
||||
<SelectContent className="bg-neutral-700 border-neutral-600 text-neutral-300 cursor-pointer">
|
||||
<SelectItem
|
||||
value="glm-4.5-air"
|
||||
className="hover:bg-neutral-600 focus:bg-neutral-600 cursor-pointer"
|
||||
>
|
||||
<div className="flex items-center">
|
||||
<Zap className="h-4 w-4 mr-2 text-emerald-400" /> glm-4.5-air
|
||||
</div>
|
||||
</SelectItem>
|
||||
<SelectItem
|
||||
value="GLM-4.7"
|
||||
className="hover:bg-neutral-600 focus:bg-neutral-600 cursor-pointer"
|
||||
|
||||
@@ -33,7 +33,7 @@ export const WelcomeScreen: React.FC<WelcomeScreenProps> = ({
|
||||
/>
|
||||
</div>
|
||||
<p className="text-xs text-neutral-500">
|
||||
Powered by GLM-4.7, Tavily, and LangChain LangGraph.
|
||||
Powered by glm-4.5-air, GLM-4.7, Tavily, and LangChain LangGraph.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user