mirror of
https://github.com/danny-avila/LibreChat.git
synced 2026-01-18 08:25:30 +01:00
🏃♂️ refactor: More Agent Context Improvements during Run (#6477)
* fix: Add optional chaining utility and update agent parameter types * v2.3.9 * chore: Update @librechat/agents version to 2.3.93
This commit is contained in:
parent
3a62a2633d
commit
2ecb167761
4 changed files with 31 additions and 12 deletions
|
|
@ -150,11 +150,12 @@ export type File = {
|
|||
|
||||
/* Agent types */
|
||||
|
||||
export type AgentParameterValue = number | null;
|
||||
export type AgentParameterValue = number | string | null;
|
||||
|
||||
export type AgentModelParameters = {
|
||||
model?: string;
|
||||
temperature: AgentParameterValue;
|
||||
maxContextTokens: AgentParameterValue;
|
||||
max_context_tokens: AgentParameterValue;
|
||||
max_output_tokens: AgentParameterValue;
|
||||
top_p: AgentParameterValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue