File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ import (
2626type Model struct {
2727 // provider is the client to query the LLM model.
2828 provider provider.Query
29- // model holds the identifier for the LLM model .
30- model string
29+ // modelID holds the identifier for the LLM modelID .
30+ modelID string
3131
3232 // attributes holds query attributes.
3333 attributes map [string ]string
@@ -45,7 +45,7 @@ func NewModel(provider provider.Query, modelIDWithAttributes string) (llmModel *
4545
4646 queryAttempts : 1 ,
4747 }
48- llmModel .model , llmModel .attributes = model .ParseModelID (modelIDWithAttributes )
48+ llmModel .modelID , llmModel .attributes = model .ParseModelID (modelIDWithAttributes )
4949
5050 return llmModel
5151}
@@ -54,7 +54,7 @@ func NewModel(provider provider.Query, modelIDWithAttributes string) (llmModel *
5454func NewModelWithMetaInformation (provider provider.Query , modelIdentifier string , metaInformation * model.MetaInformation ) * Model {
5555 return & Model {
5656 provider : provider ,
57- model : modelIdentifier ,
57+ modelID : modelIdentifier ,
5858
5959 queryAttempts : 1 ,
6060
@@ -245,7 +245,7 @@ var _ model.Model = (*Model)(nil)
245245
246246// ID returns the unique ID of this model.
247247func (m * Model ) ID () (id string ) {
248- return m .model
248+ return m .modelID
249249}
250250
251251var _ model.CapabilityWriteTests = (* Model )(nil )
You can’t perform that action at this time.
0 commit comments