You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Model identifier strings support automatic inference (e.g., `"gpt-5"` will be inferred as `"openai:gpt-5"`). Refer to the @[reference][init_chat_model(model)] to see a full list of model identifier string mappings.
92
+
Model identifier strings support automatic inference (e.g., `"gpt-5.4"` will be inferred as `"openai:gpt-5.4"`). Refer to the @[reference][init_chat_model(model)] to see a full list of model identifier string mappings.
93
93
</Tip>
94
94
95
95
For more control over the model configuration, initialize a model instance directly using the provider package. In this example, we use @[`ChatOpenAI`]. See [Chat models](/oss/integrations/chat) for other available chat model classes.
@@ -99,7 +99,7 @@ from langchain.agents import create_agent
Model instances give you complete control over configuration. Use them when you need to set specific [parameters](/oss/langchain/models#parameters) like `temperature`, `max_tokens`, `timeouts`, `base_url`, and other provider-specific settings. Refer to the [reference](/oss/integrations/providers/all_providers) to see available params and methods on your model.
112
112
:::
113
113
:::js
114
-
Model identifier strings use the format `provider:model` (e.g. `"openai:gpt-5"`). You may want more control over the model configuration, in which case you can initialize a model instance directly using the provider package:
114
+
Model identifier strings use the format `provider:model` (e.g. `"openai:gpt-5.4"`). You may want more control over the model configuration, in which case you can initialize a model instance directly using the provider package:
0 commit comments