mirror of https://github.com/microsoft/autogen.git
Debug: Resolve the DALLE Agent's self.client error. (#1798)
* Change defualt model for `lmm` * Try to use PIL image for LMM's _oai_messages * Update test cases and llava * Remove redundant files * Update the imports for lmm tests * Test case fix * Docstring update * LMM notebook lint * Typo correction for img_utils and its test * Fix self.client bug for Dalle Agent The self.client member variable is reserved for OpenAI's LLM-compatible client, which requires usage summary support. So, we rename self.client to self._dalle_client to resolve this issue
This commit is contained in:
parent
d35754ddd6
commit
5b0c919d7d
|
@ -178,3 +178,5 @@ test/agentchat/test_agent_scripts/*
|
||||||
|
|
||||||
# test cache
|
# test cache
|
||||||
.cache_test
|
.cache_test
|
||||||
|
|
||||||
|
notebook/result.png
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -2,9 +2,7 @@ import unittest
|
||||||
from unittest.mock import MagicMock, patch
|
from unittest.mock import MagicMock, patch
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
import autogen
|
import autogen
|
||||||
|
|
||||||
from conftest import MOCK_OPEN_AI_API_KEY
|
from conftest import MOCK_OPEN_AI_API_KEY
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue