fix: max tokens params OpenRouter (#4026)

This commit is contained in:
Faisal Amir 2024-11-18 09:24:44 +07:00 committed by GitHub
parent 3b48cb5816
commit f5a709b268
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 3 deletions

View File

@ -13,7 +13,7 @@
"format": "api", "format": "api",
"settings": {}, "settings": {},
"parameters": { "parameters": {
"max_tokens": 1024, "max_tokens": 128000,
"temperature": 0.7, "temperature": 0.7,
"top_p": 0.95, "top_p": 0.95,
"frequency_penalty": 0, "frequency_penalty": 0,

View File

@ -123,7 +123,6 @@ const InputExtraActions: React.FC<InputActionProps> = ({
return ( return (
<div className="flex flex-row space-x-2"> <div className="flex flex-row space-x-2">
{actions.map((action) => { {actions.map((action) => {
console.log(action)
switch (action) { switch (action) {
case 'copy': case 'copy':
return copied ? ( return copied ? (