-
Notifications
You must be signed in to change notification settings - Fork 47
Closed
Labels
Description
Add maxTokens and temperature config options to CLI
Description
Currently, the CLI allows users to configure modelProvider
and modelName
, but doesn't provide options to customize maxTokens
and temperature
parameters for the model.
Proposed Changes
- Add
maxTokens
config option with a default value of 4096 - Add
temperature
config option - Update the
generateText
function intoolAgentCore.ts
to use these parameters - Update tests and documentation
Implementation Details
- Add these options to the configuration in a similar fashion to how
modelProvider
andmodelName
are specified - Pass these values to the
generateTextProps
in thetoolAgentCore.ts
file - Ensure backward compatibility
Acceptance Criteria
- Config options for
maxTokens
andtemperature
are added - Default value of 4096 is set for
maxTokens
- Parameters are correctly passed to the
generateText
function - Tests are updated and passing
- Documentation is updated