jb-chief
jb-chief
Awesome, thank you! You wouldn't happen to have any example code for StoreKit v2 transactions, would you? 😃
Add `ProviderChatMessage` e.g. `OpenAIChatMessage` types and coerce to message params under the hood
> Should Mirascope make it possible to do things without type errors that would be a type error if using the raw provider SDK? Yes, absolutely. If I wanted to...
Add `ProviderChatMessage` e.g. `OpenAIChatMessage` types and coerce to message params under the hood
Re: your example: ``` from mirascope.openai import OpenAICall from openai.types.chat import ChatCompletionMessageParam class MyCall(OpenAICall): history: list[ChatCompletionMessageParam] def messages(self) -> list[ChatCompletionMessageParam]: return [*history, {"role": "user", "content": "hello"}] my_call = MyCall() response...
Add `ProviderChatMessage` e.g. `OpenAIChatMessage` types and coerce to message params under the hood
> And you're ok where history will only work this way if you use prompt_template but won't be supported if you write your own messages? For the reasons above. No....
+1 similarly, if you define ORM methods on your collection, it doesn't have a way of recognizing that the result documents have those methods available
fwiw, i was able to fix this today by doing `npx sst deploy --stage production --target MyVpcName`. after running that, the IPs started matching up properly.
Fixes https://github.com/JohannesKlauss/react-hotkeys-hook/issues/1274