mirror of
https://github.com/lfnovo/open-notebook.git
synced 2026-04-29 03:50:04 +00:00
fix: update esperanto dep and increase transformation max_tokens (#568)
* fix: increase transformation max_tokens from 5055 to 8192 Closes #565 * chore: update esperanto dep to fix api keys passing via config - fixes: #567
This commit is contained in:
parent
98dadd151a
commit
877c303b02
3 changed files with 7 additions and 9 deletions
|
|
@ -41,7 +41,7 @@ async def run_transformation(state: dict, config: RunnableConfig) -> dict:
|
|||
str(payload),
|
||||
config.get("configurable", {}).get("model_id"),
|
||||
"transformation",
|
||||
max_tokens=5055,
|
||||
max_tokens=8192,
|
||||
)
|
||||
|
||||
response = await chain.ainvoke(payload)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue