model decorator to associate a model identifier with an agent.
model
The model identifier string. List of model identifiers available at https://axar-ai.gitbook.io/axar/basics/model
A class decorator function.
@model('openai:gpt-4-mini')class MyAgent extends Agent<string, string> {} Copy
@model('openai:gpt-4-mini')class MyAgent extends Agent<string, string> {}
model
decorator to associate a model identifier with an agent.