File tree Expand file tree Collapse file tree
langsmith-java-core/src/main/kotlin/com/langchain/smith/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class LangsmithClientAsyncImpl(private val clientOptions: ClientOptions) : Langs
3333 else
3434 clientOptions
3535 .toBuilder()
36- .putHeader(" User-Agent" , " ${javaClass.simpleName} /Java ${getPackageVersion()} " )
36+ .putHeader(" User-Agent" , " langsmith-java/ ${getPackageVersion()} " )
3737 .build()
3838
3939 // Pass the original clientOptions so that this client sets its own User-Agent.
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ class LangsmithClientImpl(private val clientOptions: ClientOptions) : LangsmithC
3333 else
3434 clientOptions
3535 .toBuilder()
36- .putHeader(" User-Agent" , " ${javaClass.simpleName} /Java ${getPackageVersion()} " )
36+ .putHeader(" User-Agent" , " langsmith-java/ ${getPackageVersion()} " )
3737 .build()
3838
3939 // Pass the original clientOptions so that this client sets its own User-Agent.
You can’t perform that action at this time.
0 commit comments