fix: max tokens params OpenRouter (#4026)
This commit is contained in:
parent
3b48cb5816
commit
f5a709b268
@ -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,
|
||||||
|
|||||||
@ -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 ? (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user