MCPcopy Create free account
hub / github.com/MarketSquare/robotframework-ai / set_model

Method set_model

src/RobotFrameworkAI/modules/Module.py:191–200  ·  view source on GitHub ↗

Setter for the Model argument. model: str: AI model specific. The model of the AI model to be used, e.g., "gpt-3.5-turbo" when using the "openai" AI model. Default per AI model: - "openai" = "gpt-3.5-turbo" See the RobotFrameworkAI docs for more informati

(self, model: str)

Source from the content-addressed store, hash-verified

189
190 @keyword
191 def set_model(self, model: str):
192 """
193 Setter for the Model argument.
194 model: str: AI model specific. The model of the AI model to be used, e.g., "gpt-3.5-turbo" when using the "openai" AI model.
195 Default per AI model:
196 - "openai" = "gpt-3.5-turbo"
197 See the RobotFrameworkAI docs for more information about setters.
198 """
199 logger.debug(f"Calling keyword: Set Model. Changing Model from `{self.model}` to `{model}`")
200 self.model = model
201
202 @keyword
203 def set_max_tokens(self, max_tokens: int):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected