Jacob Lee

Results 335 comments of Jacob Lee

For now whatever the model defines (Deepseek makes it a string) Would imagine in the future it'll be content blocks or string but would prefer to wait for the dust...

Hey @sbilling, OpenAI has had some issues with [esm.sh](https://github.com/openai/openai-node/issues/484) in the past - can you try importing it like this: `import { ChatOpenAI } from 'npm:@langchain/openai';`

@mejackreed it feels like it would make more sense to just update the Datadog tracer to use the new standard fields?

Yeah, that is the issue - calling `.bind` does not result in an instance of the same class, which is likely the root of your typing/runtime issues. We have thought...

Thanks for this! Will give it a look tomorrow.

This looks fine - but could we get the same functionality using the built-in `AsyncCaller` for standardization? https://github.com/langchain-ai/langchainjs/blob/d7a184cfb7f6447c974c89c34c883c0372984762/libs/langchain-mistralai/src/llms.ts#L301

Does this persist with larger models? What if you prompt more strictly to include something like "you must always use tools if available"? Unfortunately tool calling/structured output isn't perfect in...

Yes please! Will assign it to you @BaharChidem.